Home »
MCQs »
AngularJS MCQs
Which directive defines the application controller?
29. Which directive defines the application controller?
- ng-control
- ng-controller
- ng-NewController
- None of the above
Answer: B) ng-controller
Explanation:
The ng-controller directive defines the application controller.