1.

What is difference between rootScope and scope in Angular 2?

Answer»

rootScope

It's an AngularJS SERVICE that implements the underlying EVENT and state management mechanism for AngularJS ATTRIBUTES, DIRECTIVES, views and controllers.

Scope

Whereas, it's a conventional parameter name given to a directive's link function's first ARGUMENT.



Discussion

No Comment Found