The values for the checkboxes, ng-true-value does not understand the meaning of scope?

From the documentation of angular:
Examples of non-constant expressions include:

<input type="checkbox" ng-model="..." ng-true-value="someValue">
<input type="checkbox" ng-model="..." ng-false-value="{foo: someScopeValue}">

you need to set the values to true, false for checkboxes, constants understands, but when installing ng-true-value="ValueObject.myValue", he swears, though in the documentation this option describes Angular version 1.3.14, if who faced, I will be glad to advice how to solve this problem.
September 19th 19 at 00:21
1 answer
September 19th 19 at 00:23
Try to wrap ValueObject.myValue in double curly braces ng-true-value="{{ValueObject.myValue}}".

Find more questions by tags Angular