checkbox not binding to scope in angularjs

Solutions on MaxInterview for checkbox not binding to scope in angularjs by the best coders in the world

showing results for - "checkbox not binding to scope in angularjs"
Lincoln
27 Apr 2020
1//What worked was to bind the input to an object instead of a primitive (angularJs 1.x)
2<!-- Partial -->
3<input type="checkbox" ng-model="someObject.someProperty"> Check Me!
4
5// Controller
6$scope.someObject.someProperty = false