Angular Fun
By BAS
(Basarat Ali Syed)
AngularJS Docs are terrible
I'm kidding
I'm totally not kidding
Directives
Look at all that angular provides you out of the box.
Directives
Already seen examples of these
Directive Create your own
The complete Definition options
Dependency Injection AND Modules
Sample service Injection
Implicit module 'ng' added to all angular modules.
Sample Service
Reusable functionality for our Controllers
Filters
Sit Between (Controller - View)
Look Back
Modules
App Module
(View - scope - Controllers)
Directives
Filters
Services
Really is that simple
A bit of the internals
$Watch
The way $compile works
Digest
Services / Factories Are singletons