Angular Fun



By BAS
(Basarat Ali Syed)

You are not alone


AngularJS Docs are terrible



I'm kidding 
I'm totally not kidding

Conceptual Overview



Link



Baby sTEPs








Controllers AND Scope







Directives


Look at all that angular provides you out of the box.



Directives


Directive Create your own



The complete Definition options


Dependency Injection AND Modules





DI Syntax


minification syntax : http://docs.angularjs.org/guide/di

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

Links Again

Really is that simple


A bit of the internals

Angular Expressions





$Watch

The way $compile works 



Digest

Services / Factories Are singletons



Routes


Async




Angular Fun

By basarat

Angular Fun

  • 1,788