A newbie question here: I'm working with Angular modules that are using dependency injection. If I inject $scope in module A and I do something like $scope.myVariable = 5, will $scope.myVariable be defined in module B?
1 Answer
No, scope are limited to a controller. So they will not reflect in another module.
Read more about it here: Scopes in angularJs
1 Comment
Kathy Lori
Thank you for your quick reply. I appreciate it.