2 ms·
Seriously, 3 different ways to fix their "Problem #1" 1) Define $scope.obj in the controller, instead of letting ng-model create it for you. [0] 2) Bind to $p
by squeaky-clean 11y ago
Seriously, 3 different ways to fix their "Problem #1"
1) Define $scope.obj in the controller, instead of letting ng-model create it for you. [0]
2) Bind to $parent.obj in the inner scope (not necessary in later versions of angular) [0]
3) Upgrade to a modern version of Angular.
[0] https://jsfiddle.net/e924n237/ https://jsfiddle.net/e924n237/