Skip to content
fossilized created page: CommonAngularGotchas authored by yeemighty's avatar yeemighty
...@@ -3,11 +3,14 @@ Module ...@@ -3,11 +3,14 @@ Module
- can use to organize functionality - can use to organize functionality
- like a namespace for angular objects - like a namespace for angular objects
- modules can and often have dependencies on other modules - modules can and often have dependencies on other modules
Controller Controller
- contains bare minimum business logic for a single view - contains bare minimum business logic for a single view
- do not use to share data between controllers - do not use to share data between controllers
Services Services
- Use to share data between controllers - Use to share data between controllers
Directives Directives
- Multi purpose can be a html element, attribute, class or all - Multi purpose can be a html element, attribute, class or all
- Used for resuseable html elements - Used for resuseable html elements
... ...
......