AngularJS Controller
Example
- Add controller to module
- Add data to controller
- Call function in controller with onchange event
- Change a Model Value by Controller Function
- Create module and add controller
- Encapsulate a Model Value with a Controller
- Fill model data from controller
- Hierarchical Controllers
- Map controller hierarchy to DOM tree
- Read binded value from controller
- Respond to Click Events using Controllers
- Share Code Between Controllers using Services
- Share Models Between Nested Controllers