ANGULAR QUIZ DESCRIPTION Total Questions −30 00 Max Time − 15:00 Can an HTML page have multiple “ng-app” directive for bootstrapping multiple AngularJS application? yes no Scope act as glue between controller and view. True False Which of the following template can be used to write AngularJS directives? Attribute Class name Tag All of the above angular.module is primarily used to create application module. True False On which of the Architectural pattern AngularJS is based? MVC Architecture pattern Observer Pattern Decorator pattern MVVM Architectural pattern filter filter is applied to an expression using pipe character. True False With more than one ng-app in an HTML document (an HTML page), are all of them automatically initialized? Yes No No, only one app is automatically initialized. Others have to manually initialized. AngularJS is a library? True False Which of the following statement is true in the case of a controller in MVC? A controller is a software code that renders the user interface. A controller is a software code that stores the data. A controller is a software code that controls the interactions between the Model and View. All of the above. AngularJS is an MVC based framework? True False Is AngularJS completely based on HTML and JavaScript? Yes No AngularJS expressions are written using. double braces like {{ expression}} single braces like {expression} small bracket like (expression) capital bracket like [expression] Can angular applications (ng-app) be nested within each other? yes No Which angular module is loaded by default? ng ng-app angular.module is primarily used to create application module. True False Do AngularJS provide reusable components? Yes No Directives can be applied to which all element type? Element Attribute Comment All of the above ng-app directive defines and links an AngularJS application to HTML. False True What are various possible ways in which angular application can be initialized? On an element, one could either put simply the attribute such as (ng-app, data-ng-app, ng:app, x-ng-app) Put the named attribute such as (ng-app='demoApp') Both of the above Which of the following is true about ng-init directive? ng-init directive initializes an AngularJS Application data. ng-init directive is used to put values to the variables to be used in the application. Both of the above. None of the above. How many $RootScope an AngularJS application can have? One Two Zero Infinity Directives can be applied to which all element type? Element Attribute Comment All of the above AngularJS expressions are written using. double braces like {{ expression}} single braces like {expression} small bracket like (expression) capital bracket like [expression] Which of the following community Angular JS belong to? Microsoft Facebook Google Twitter Which components can be injected as a dependency in AngularJS? Application Module constant value factory What are various possible prefixes such as 'ng-' using which Angular directives (for example, ng-app) can be defined? 'ng-', 'data-ng-', 'ng:' 'ng-' 'ng-', 'data-ng-', 'ng:', 'x-ng-' 'ng-', 'data-ng-','x-ng-' Which API need to be invoked on the rootScope service to get the child scopes? new $new Which of the following is the correct syntax for writing AngularJS expressions? {{expression}} {{{expression}}} (expression) [expression] At framework level, how does Angular retrieve the matching elements for processing? Makes use of jqLite(element) function. If jQuery is used, jQuery(element) is used by way of assigning jQuery to jqLite variable Both of the above None of the above AngularJS supports two-way data binding? True False Previous Next Total Question16 Wrong Answer13 Right Answer13