These Angularjs Interview questions are frequently asked by interviewer. these questions are very basic but you can represent in fount of interviewer that you are aware with angularjs.
What is AngularJS?
AngularJS is a framework to build large scale and high performance web application while keeping them as easy-to-maintain. Following are the features of AngularJS framework.
What is scope in AngularJS?
Scopes are objects that refer to the model. They act as glue between controller and view.
What is data binding in AngularJS?
Data binding is the automatic synchronization of data between model and view components. ng-model directive is used in data binding.
What are the services in AngularJS?
AngularJS come with several built-in services. For example $http service is used to make XMLHttpRequests (Ajax calls). Services are singleton objects which are instantiated only once in app.
What are the controllers in AngularJS?
What are the directives in AngularJS?
Directives are markers on DOM elements (such as elements, attributes, css, and more). These can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives (ng-bind, ng-model, etc) to perform most of the task that developers have to do.
What are the filters in AngularJS?
Filters select a subset of items from an array and return a new array. Filters are used to show filtered items from a list of items based on defined criteria.
What is routing in AngularJS?
It is concept of switching views. AngularJS based controller decides which view to render based on the business logic.