aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/rootScope
diff options
context:
space:
mode:
authorMatthew Windwer2013-07-02 15:14:24 -0400
committerBrian Ford2013-08-07 13:50:18 -0700
commit8ea802a1d23ad8ecacab892a3a451a308d9c39d7 (patch)
tree2238dd49cb05e03b18a0591eefa4b0301e20d456 /docs/content/error/rootScope
parentbe621934edca1efef80cb24752fad4e1e915739f (diff)
downloadangular.js-8ea802a1d23ad8ecacab892a3a451a308d9c39d7.tar.bz2
feat(ngForm): Supports expression in form names
<form name="ctrl.form"> form controller will accessible as $scope.ctrl.form instead of $scope['ctrl.form'] BREAKING CHANGE: If you have form names that will evaluate as an expression: <form name="ctrl.form"> And if you are accessing the form from your controller: Before: function($scope) { $scope['ctrl.form'] // form controller instance } After: function($scope) { $scope.ctrl.form // form controller instance } This makes it possible to access a form from a controller using the new "controller as" syntax. Supporting the previous behavior offers no benefit.
Diffstat (limited to 'docs/content/error/rootScope')
0 files changed, 0 insertions, 0 deletions