Angular JS Interview Questions and Answers
Ques 1. What is AngularJS?
AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. Its goal is to augment browser-based applications with model–view–controller capability, in an effort to make both development and testing easier.
Ques 2. Can you please explain what is testability like in Angular?
Very testable and designed this way from ground up. It has an integrated dependency injection framework, provides mocks for many heavy dependencies (server-side communication).
Ques 3. Why is this project called "AngularJS"? Why is the namespace called "ng"?
Because HTML has Angular brackets and "ng" sounds like "Angular".
Ques 4. Tell me does Angular use the jQuery library?
Yes, Angular can use jQuery if it's present in your app when the application is being bootstrapped. If jQuery is not present in your script path, Angular falls back to its own implementation of the subset of jQuery that we call jQLite.
Ques 5. Is AngularJS a library, framework, plugin or a browser extension?
Most helpful rated by users:
- What is AngularJS?
- Tell me does Angular use the jQuery library?
- Tell me can we use the open-source Closure Library with Angular?
- Why is this project called "AngularJS"? Why is the namespace called "ng"?
- Can you please explain what is testability like in Angular?