Hi Migajek,

Well, if you use ng-controller, a scope will get created before your 
controller gets instantiated, and if will be destroyed after the controller 
is gone.
there is a small difference there, and for 99% of the practical uses, it 
makes no difference there.  
However, ng-controller is not the only way to create a new scope, there are 
much more directives that create a new scope. And those scopes
might have a very different life-time as the containing/child/sibling 
controller.

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