GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

$scope in Angular

James Drummond Angular A-Level Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

What is scope in Angular?

Scopes provide APIs ($watch) to observe model mutations

Scopes provide APIs ($apply) to propogate any model changes through the system.

Scope is the glue between the application controller and the view

During the template linking phase, the directives set up $watch expressions on the scope.

It gives you access to your models

Think 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.

Informationen

Beschreibung
A-Level Angular Notiz am $scope in Angular, erstellt von James Drummond am 11/01/2015.
Erstellt von
James Drummond · Jan 2015
Aktualisiert
19 Feb 2016
Aufrufe
22
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck