title: Pass function in ng-model
body: <p>Is it posible to pass function into ng-model, for example </p>
  
  <pre><code>&lt;input type="text" name="email" class="form-control" ng-model="createModel('email')" ng-change="addProperty(email,'email')" email required placeholder="Email"&gt;
  </code></pre>
  
  <p>ng-change is working fine, but <code>ng-model="createModel(email)"</code> is showing this error </p>
  
  <pre><code>&gt; Expression 'createModel('email')' is non-assignable. Element: &lt;input
  &gt; type="text" name="email"....
  </code></pre>
  
  <p>In controler i have :
  // I just want to pass value for now</p>
  
  <pre><code>  $scope.createModel = function(modelName){
       console.log("Model name"+modelName);
    }
  </code></pre>
  
  <p>I saw examples on the internet that people doing this</p>