title: AngularJS angular.copy not working for bool
body: <p>Can someone explain to me why I can get angular.copy to work with an object or array but if I try to use a boolean value, it does not work.</p>
  
  <pre><code>$scope.data = {};
  $scope.data.booleanVal = false;
  
  angular.copy(true, $scope.data.booleanVal);
  
  alert($scope.data.booleanVal);
  </code></pre>
  
  <p>Appropriate JSFiddle link.</p>
  
  <p><a href="http://jsfiddle.net/IgorMinar/ADukg/embedded/result/" rel="nofollow">http://jsfiddle.net/IgorMinar/ADukg/embedded/result/</a></p>