Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
There was an error while loading. Please reload this page.
Inside
demo.html, if you replaceng-model="data.custom":by
ng-model="myItem":$scope.myItemnever gets set.It's like
ngModelCtrl.$setViewValue(newVal)cannot bind to a simple variable$scope.myItem.It will work only if
ng-modelis an object:demo.js:$scope.myItem = {}demo.html:ng-model="myItem.data"I could not figure out why, any idea?