Following quiz provides Multiple Choice Questions (MCQs) related to AngularJS Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
AngularJS code is unit testable.
Q 3 - What is MVC?
Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications.
Q 4 - Which of the following is true about ng-hide directive?
ng-hide directive shows/hides a given control.
Q 5 - Which of the following is true about $invalid flag?
$invalid flag states that form has invalid data.
Q 6 - Which components can be injected as a dependency in AngularJS?
Application Module can not be injected as dependency.
Q 7 - On which of the following types of component can we create a custom directive?
AngularJS provides support to create custom directives for following type of elements.
Element directives - Directive activates when a matching element is encountered.
Attribute - Directive activates when a matching attribute is encountered.
CSS - Directive activates when a matching css style is encountered.
Comment - Directive activates when a matching comment is encountered.
With AngularJS, developer writes less code and gets more functionality.
filter filter is applied to an expression using pipe character.
In controllers, model data is accessed via $scope object.