EVOLUTION-MANAGER
Edit File: constexpr.html
<a href='https://github.com/angular/angular.js/edit/v1.3.x/docs/content/error/ngModel/constexpr.ngdoc?message=docs(error%2Fconstexpr)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a> <h1>Error: error:constexpr <div><span class='hint'>Non-Constant Expression</span></div> </h1> <div> <pre class="minerr-errmsg" error-display="Expected constant expression for `{0}`, but saw `{1}`.">Expected constant expression for `{0}`, but saw `{1}`.</pre> </div> <h2>Description</h2> <div class="description"> <p>Some attributes used in conjunction with ngModel (such as ngTrueValue or ngFalseValue) will only accept constant expressions.</p> <p>Examples using constant expressions include:</p> <pre><code><input type="checkbox" ng-model="..." ng-true-value="'truthyValue'"> <input type="checkbox" ng-model="..." ng-false-value="0"> </code></pre> <p>Examples of non-constant expressions include:</p> <pre><code><input type="checkbox" ng-model="..." ng-true-value="someValue"> <input type="checkbox" ng-model="..." ng-false-value="{foo: someScopeValue}"> </code></pre> </div>