Hi Bob,

The best thing you can do is rewrite the controller to be used with 
controllerAs. Your problem is that you are reusing the same variable. 
Rewriting it to the new paradigm will force you to solve it the right way. 
Don’t use $scope!. for details read the style-guide 
<https://github.com/johnpapa/angular-styleguide>

Regards
Sander
​

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to