nput ng-model=&quot;&#39;oops&#39;&quot;&gt;
&lt;input ng-model=&quot;myFunc()&quot;&gt;
</code></pre>
<p>Always make sure that the expression bound via <code>ngModel</code> directive can be assigned to.</p>
<p>For more information, see the <a href="api/ng/directive/ngModel">ngModel API doc</a>.</p>

</div>


