AngularJSControllers


Syntax

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