AngularJS MCQ Online Test

  1. Angular Js is based on
  2. AngularJS expressions are written using
  3. What is correct way to apply multiple filters in AngularJs.
  4. Which directive initializes an AngularJS application?
  5. Which of following is not valid AngularJs Filter
  6. What are Angular Controllers are responsible for
  7. Which Angular directive is used to binds the value of HTML controls (input, select, textarea) to application data?
  8. Which one of following is correct syntax for creating a module in AngularJs?
  9. How do you share data between controller and view?
  10. What is $routeProvider ?
  11. Who is known as father of Angularjs?
  12. Angular 1.x is written in
  13. Is AngularJs supports two way binding?
  14. Which Angular Directive is used to disable an Element?

AngularJS is an open-source front-end web framework based on JavaScript. It was created in 2009 by Misko Hevery and Adam AbronsIt and is essentially kept up by Google. It Provides developers a choice to compose customer-side applications utilizing JavaScript in a clean MVC way. It is completely free and licensed under the Apache license version 2.0.

Take the AngularJs MCQ Test, which is very helpful for the preparation for the AngularJs Exam/Interview.

AngularJs MCQ

1. Angular Js is based on

  • MVC Architecture
  • Decorator pattern
  • MVVM Architectural pattern
  • Observer Pattern
View Answer

2. AngularJS expressions are written using

  • (expression)
  • {{expression}}
  • {{{expression}}}
  • [expression]
View Answer

3. What is correct way to apply multiple filters in AngularJs.

  • {{ expression | filter1 | filter2 | ... }}
  • {{ expression | {filter1} | {filter2} | ... }}
  • {{ expression - {filter1} - {filter2} - ... }}
  • {{ {filter1} | {filter2} | ...-expression}}
View Answer

4. Which directive initializes an AngularJS application?

  • ng-init
  • ng-app
  • ngSrc
  • ng-start

5. Which of following is not valid AngularJs Filter

  • lowercase
  • orderby
  • email
  • currency
Download Free : AngularJs MCQ PDF

6. What are Angular Controllers are responsible for

  • Controlling the data.
  • Displaying the data.
View Answer

7. Which Angular directive is used to binds the value of HTML controls (input, select, textarea) to application data?

  • ng-cloak
  • ng-bind
  • ng-model
  • ng-blur
View Answer

8. Which one of following is correct syntax for creating a module in AngularJs?

  • var myModule= angular.module();
  • var myModule= new Module();
  • angular.module("app", []);
View Answer

9. How do you share data between controller and view?

  • using Model
  • using services
  • using factory
  • using $scope
View Answer

10. What is $routeProvider ?

  • A service
  • A module
  • A component
View Answer

11. Who is known as father of Angularjs?

  • Brad Green
  • Misko Hevery
  • Adam Abrons
View Answer

12. Angular 1.x is written in

  • Java
  • Javascript
  • TypeScript
View Answer

13. Is AngularJs supports two way binding?

  • True
  • False

14. Which Angular Directive is used to disable an Element?

  • ng-disabled
  • ng-hide
  • ng-false
View Answer

15. Is AngularJs supports internationalization?

  • True
  • False

16. Can we extend AngularJS?

  • True
  • False

17. What is $routeProvider ?

  • A service
  • A module
  • A component
View Answer

18. AngularJS directives are used in ____________

  • Module
  • Controller
  • Service
  • View
View Answer

19. AngularJS directives can be written in Templates as

  • Tag
  • Attribute
  • Class name
  • All of the above
View Answer

20. Which of the following directive allows us to use a form in AngularJs?

  • ng-include
  • ng-form
  • ng-directive
  • ng-bind
View Answer

21. AngularJS applications are a mix of

  • HTML and PHP
  • HTML and JavaScript
  • HTML and CrossScript
  • HTML and AngularScript
View Answer

22. AngularJS application expressions are pure JavaScript expressions.

  • True
  • False

23. Can $http service is used to make an Ajax call to server.

  • Yes
  • No

24. What is deep linking in AngularJs?

  • Deep linking is a SEO based technique.
  • Deep linking refers to linking various views to a central page.
  • Deep linking allows you to encode the state of application in the URL so that it can be bookmarked.
  • All of the Above
View Answer

25. Which components can be injected as a dependency in AngularJS?

  • Value
  • Factory
  • Constant
  • Application Module
View Answer