|
Creado por James Drummond
hace más de 10 años
|
|
What is scope in Angular?Scopes provide APIs ($watch) to observe model mutationsScopes provide APIs ($apply) to propogate any model changes through the system.Scope is the glue between the application controller and the viewDuring the template linking phase, the directives set up $watch expressions on the scope. It gives you access to your modelsThink about it: if you set up a model in a view and wish to access it in a controller then you do that via $scope.
There are no comments, be the first and leave one below:
¿Quieres crear tus propios Apuntes gratis con GoConqr? Más información.