AngularJS 1.x Routers and Custom Directives
AngularJS 1.x Routers and Custom Directives
Complete the code to set up the locale controller to use the local service function LocaleController(scope,scope,locale)
{ scope.myDate=Date.Now(); scope.myDate=Date.Now();scope.formattedDate=?.DATETIME_FORMATS.fullDate; }
____ implements routing based on the state of the application where as ______ implements routing based on the route U
In AngularJS, .............. is an Angular service which traverses the DOM looking for attributes.
A .......... is a behavior which should be triggered when specific HTML constructs are encountered during the compilation
process
which of the following variables can be injected into a function once you have included ui-router in the list of dependencie
your module?
Which function can be used to update the HTML?
................Configures a Router with RouteDefinitions, each mapping a URL path to a component.
Which is not true about directives?
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?
What is default scope in a angular directive
What is the difference between controller and link in directives
$animate can be used in a directive
Select the AngularJS services required to perform automatic scrolling in an HTML page
getDate
uirouter, ngroute
ngrepeat
Yes No. With certain only
During run time Never
0 1
Compile Both
Directive $compile
URL property for large
very small templates markups
standard behaviour to new
creates new HTML elements
RouteConfig
href='#/ http
new Date
link
inject