Stats

950 Contributors: 22 Tuesday, November 8, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Controllers

Syntax

  • <htmlElement ng-controller="controllerName"> ... </htmlElement>
  • <script> app.controller('controllerName', controllerFunction); </script>

Related Examples