AngularJS Tutorial - Controller Example


  1. Add controller to module
  2. Add data to controller
  3. Call function in controller with onchange event
  4. Change a Model Value by Controller Function
  5. Create module and add controller
  6. Encapsulate a Model Value with a Controller
  7. Fill model data from controller
  8. Hierarchical Controllers
  9. Map controller hierarchy to DOM tree
  10. Read binded value from controller
  11. Respond to Click Events using Controllers
  12. Share Code Between Controllers using Services
  13. Share Models Between Nested Controllers