Hi Bindson,

Scope binding works as expected in your sample. Your formentityModel 
creates a new scope. You are setting your $scope.raction in that scope, to 
a primitive. The parent scope(the one your controller lives in) will not 
receive this change.
The permanent solution to this is switching over to the (not so new) 
controllerAs syntax. this is aptly described in the styleguide 
<https://github.com/johnpapa/angular-styleguide>!
If you don't want that, make sure you use at least one .(dot) in every var 
that is visible in the scope.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to