Angular Js MCQ S
Angular Js MCQ S
Which API need to be invoked on the rootScope service to get the child scopes?
A. new
B. $new
Ans: B
What are various possible prefixes such as 'ng-' using which Angular directives (for example, ng-app) can
be defined?
A. 'ng-', 'data-ng-', 'ng:'
B. 'ng-'
C. 'ng-', 'data-ng-', 'ng:', 'x-ng-'
D. 'ng-', 'data-ng-','x-ng-'
Ans: C