title: Binding ngModel to expression's value
body: <p>I have a scenario in which the property ng-model should bind to value that comes from database as a part of business logic. </p>
  
  <p>For simplicity, I have created this <a href="http://jsfiddle.net/U3pVM/15325/" rel="nofollow">example</a></p>
  
  <pre><code>function TodoCtrl($scope) {
      $scope.field1 = "PropertyFromDB";
      $scope.PropertyFromDB = "hello world";
  }
  
  &lt;div ng-app&gt;
    &lt;h2&gt;ngModel BINDING EXAMPLE&lt;/h2&gt;&lt;br/&gt;
    &lt;div ng-controller="TodoCtrl"&gt;
        &lt;div ng-init="imod = field1"&gt;
            &lt;input type="text" ng-model="imod"&gt;&lt;/input&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In this example, <code>field1</code> is the value which will be property that comes from DB (i.e. PropertyFromDB) and ng-model should bind to PropertyFromDB instead of field1.
  So, its like I want to evaluate expression inside expression syntax of ng-model but I am unable to do so.</p>
  
  <p>Thanks</p>