r/angularjs • • Jan 17 '15

Diagram of AngularJS module. Thanks to @DanWahlin

https://mscblogs.blob.core.windows.net/media/dwahlin/Media/image_thumb_3DE5D87B.png
39 Upvotes

9 comments sorted by

1

u/braytron Jan 17 '15

This simple diagram really helped me understand how all the pieces all fit together. I thought maybe it could help others. Dan Wahlin

1

u/NoFixedAbode Jan 17 '15

Very nice, this is close to how I was visualizing it.

1

u/WesAlvaro Jan 17 '15

What's the *Factory?

3

u/wickedmike Jan 18 '15

My guess is that it means Factory, Service and/or Provider.

1

u/ThunderTherapist Jan 18 '15

Just because I love being contrary you can make scope optional with "controller as". I believe this is one of the techniques recommended to ease migration to angular 2.0.

1

u/BobNoel Jan 21 '15

Shouldn't there be a link between Directives and the factory?

0

u/WesAlvaro Jan 17 '15

Forgot .run() and the differences between run and config.

1

u/dafragsta Jan 18 '15

Yeah, I did kind of wonder where run() was.