AngularJSControllers

Download AngularJS for free

Syntax

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

Related Examples

Creating Controllers