AngularJS 1.x Routers and Custom Directives
AngularJS 1.x Routers and Custom Directives
No
1
2
3
4
5
6
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
33
34
35
36
37
38
39
40
41
42
The............... service is not able to function properly if the current URL is outside the URL given as the base h
The directive..................that marks where the router should display a view.
Which function is used to set up a default route?
With _____, views and routes are tied to the application url
Which function best describes routing?
In UI router, _________ can be used to provide your controller with content or data that is custom to the state
States are defined using ________ service
What is not true about an abstract state?
ngAnimate module is defined in which library?
Inside your MainCtrl class, you want to make a request to the server. Complete the code segment you would
to do this by providing the appropriate service. ..................
.get(scope.url).success(function(result,status.headers.config) { console.log('GET SUCCESS'); console.log(res
scope.result1=result['data']; });
$location
ng outlet
Otherwise()
ngRoute
Loads templates into the ng-view element
It enables changing the path of the application in
order to perform navigation
No. It is not. One need to download and include the
router script file exclusively
href="#/detail/{{food.id}}"
$locale
The state to be the activated
It does not allow the use of multiple subviews on a
page
Ui-sref
ui-router, ngRoute
ngrepeat
Yes. Animations are possible with custom directives
using $animate service
During run time
0
Compile
Directive
The template property is used for very small
templates
Creates new HTML elements and attributes
resolve
Directive
Create a directive that wraps other elements
exactly one root scope but may have several child
scopes
ng-repeat
Both CSS and Javascript
ng-animate
0
Isolate scope
$watchGroup(watchExpressions,listener)
$stateParams
$get