Home »
MCQs »
AngularJS MCQs
Which directive defines initial values for an AngularJS application?
19. Which directive defines initial values for an AngularJS application?
- ng-app
- ng-init
- ng-model
- ng-repeat
Answer: B) ng-init
Explanation:
The ng-init directive defines initial values for an AngularJS application.