How Angular works

Descrição

A-Level Angular Notas sobre How Angular works, criado por James Drummond em 13-12-2014.
James Drummond
Notas por James Drummond, atualizado more than 1 year ago
James Drummond
Criado por James Drummond aproximadamente 10 anos atrás
26
1

Resumo de Recurso

Página 1

I1. Angular begins when document.readyState is set to true.2. At this point, Angular parses the HTML looking for an ng-app directive. Or, the app must be bootstrapped directly:   var newElement = document.createElement("div");  angular.bootstrap(newElement, ['myApp']);3. When the DOMContentloaded event is fired, Angular looks for the ng-app directive and then creates several components it needs to run: the $injector, the $compile service and the $rootScope.At this point we enter the compilation phase: the $compilation service traverses the DOM looking for angular directives. It then combines all of their linking functions into a single linking function. 

New Page

Semelhante

Angular Nuts and Bolts
James Drummond
The Princeton Review Chapter 9 Rotational Motion
Anibal Santamaria
Angular
Kingsley Bawuah
Front-End Web Development
Chanthy Ngin
AngularJS - Quiz - Jan 2016
arunram.krish
Scope and Inheritance in Angular
James Drummond
Angular application scaffolding
James Drummond
AngularJS
Akhil Sree Nivas
Directives, compile and link
James Drummond
Directives and scope
James Drummond
Fluxo buscaCliente
Alex José Silva