dependency injection
anchor tags
Steps
service
AngularJS
model
AngularJS
view
AngularJS
2 contexts
controller
AngularJS
routing
AngularJS
Steps
directives
2 flavors
ngController
ngView
ngTransclude
Steps
custom directives
Steps
directive definition object
isolating the scope
Steps
“poking holes” in the scope
Steps
“compilation”
AngularJS
compile
AngularJS
Syntax
Steps
controller (directive)
[AngularJS]
Syntax
Steps
linking
AngularJS
2 functions:
2 approaches:
defining linking functions in
link: property
2 choices
— or —
defining linking functions in compile property
2 choices
— or —