title: ng-model changes of type in radio button
body: <p>Please note this example:</p>
  
  <p><a href="http://jsfiddle.net/LdtM9/1/" rel="noreferrer">JSFiddle Sample</a></p>
  
  <pre><code>
  
      &lt;div ng-controller="myCtrl"&gt;
      var ng-model = {{myValue}} - {{myType}}
  
         &lt;input type="radio" value="true" 
      name="boolean" ng-change="logIt()" ng-model="myValue" /&gt; True
          &lt;input type="radio" value="false" 
      name="boolean" ng-change="logIt()" ng-model="myValue" /&gt; False
  
      &lt;/div&gt;
      var myApp = angular.module('myApp',[]);
  
      function myCtrl($scope)
      {    
          $scope.myValue = true; //does not work
          //$scope.myValue = 'true'; //it does work
          $scope.myType =(typeof $scope.myValue);    
          $scope.logIt=function(){
              $scope.myType =(typeof $scope.myValue);
          }
      }
  
  </code></pre>
  
  <p>As you can see initially typeof is of type boolean but after selecting a value it changes to string, and true is not equal to 'true'. Is there any way I can make angular preserve the original type. </p>
  
  <p>At this point I am considering to write my own directive to control this behavior but it does not look right that angular changes the original type, am I correct?.</p>