Chapter 1:-AngularJS Core Concept
What is AngularJS?
2. Difference between Javasript and Angular JS
3. Advantages of AngularJS and Disadvantageous of AngularJS
4. Explain AngularJS MVC Architecture
5. Explain Single Page Application (SPA).
6. Explain AngularJS Life Cycle.
AngularJS MCQ Quiz
1)AngularJS expressions are written using.
A.double braces like {{ expression}}
B.single braces like {expression}
C.small bracket like (expression)
D.capital bracket like [expression]
2)Which components can be injected as a dependency in AngularJS?
A.Application Module
B.constant
C.value
D.factory
3) AngularJS applications can run on all major browsers and smart phones including Android and iOS based phones/tablets.
A.true
B.false
4)AngularJS is a library?
A.True
B.False
5)Who is sometimes called as Father of AngularJS?
A.Brad Green
B.Igor Minor
C.MiskoHevery
D.Brian Ford
6)AngularJS is an MVC based framework?
A.True
B.False
7)Directives can be applied to which all element type?
A.Element
B.Attribute
C.Comment
D.All of the above
8) Scope act as glue between controller and view.
A.True
B.False
9)AngularJS needs data in JSON format to populate its model.
A.true
B.false
10)angular.module is primarily used to create application module.
A.true
B.false
11)What are Angular Controllers are responsible for
A.Controlling The data.
B.Displaying the data
12)Which one of the following is correct syntax for creating a module in a AngularJS
A.varmyModule=angular.module();
B.varmyModule=new.module();
C.angular.module(“app” ,[]);
13)How do you share data between controller and view?
A.Using Model
B.Using Services
C.Using factory
D.Using $scope
14)What is $routeProvider?
A.A service
B.A module
C.A component
15.AngularJS directives can be written in Template as
A.Tag
B.Attribute
C.Class name
D.All of the above