Error: No controller: ngModel
ngChange
requires ngModel
directive. But you're using ngChange
for the same purpose of ngModel
. Just go with:
<input id="reverseOrder" type="checkbox" ng-model="reverseOrder"/>
ngChange
requires ngModel
directive. But you're using ngChange
for the same purpose of ngModel
. Just go with:
<input id="reverseOrder" type="checkbox" ng-model="reverseOrder"/>