AngularJS Interview Questions
Angular Interview questions and answers
- What is AngularJS ?
- Explain Directives in Angular?
- What are controllers and need of ng-controller and ng-model in Angular?
- What are expressions in Angular?
- How can we initialize Angular application data?
- Explain $scope in Angular?
- What is “$rootScope” and how is it related with “$scope”?
- Explain the concept of digest cycle, watchers and dirty checking?
- What can be the performance implications of watchers and digest cycle ?
- How can we measureno: of watchers & time spent on digest cycle?
- How can we decrease digest cycle time ?
- Can we force the digest cycle to run manually?
- Do I need Jquery for Angular?
- How is the data binding in Angular ?
- Explain compile and link phase?
- How do we make HTTP get and post calls in Angular?
- How do we pass data using HTTP POST in Angular ?
- What is dependency injection and how does it work in Angular?
- How does DI benefit in Angular?
- What are services in Angular?
- Are Service object instances global or local?
- What is a Factory in Angular?
- What is the difference between Factory and Service?
- How are validations implemented in Angular?
- How to check error validation for a specific field?
- What does SPA (Single page application) mean?
- How can we implement SPA with Angular?
- How to implement routing in Angular?
- How to implement SPA using angular-UI route?
- Can we load HTML content rather than a full page ?
- How can we create controllers and pass parameters in Angular UI route?
- How to implement nested views using Angular UI route?
- How can we create a custom directive in Angular?
- What kind of naming conventions is used for custom directives?
- What are the different custom directive types in AngularJS?
- What if I want custom directives to be applied on element as well as attributes ?
- Can I set an Angular directive template to a HTML web page?
- Explain $q service, deferred and promises?