O'Reilly logo
  • hao wang thinks this is interesting:

we used a controller called parkingCtrl. We can attach any controller to the view using the ngController directive. After using this directive, the view and controller start to share the same scope and are ready to work together


Cover of AngularJS Essentials


ngController 指令