Angular1 - Language Features Flashcards
URL routing is a popular approach to matching the contents of a URL to specific functionality within a web application.
True
URL routing is a popular approach to matching the contents of a URL to specific functionality within a web application.
True
___ is an example of an element directive
“<mydirective></mydirective>”
Angular doesn’t supply URL routing by default.
True
Once you have a Promise, what can you attach?
finally() method
Like ngBindTemplate, ngBind can have multiple {{ }} Expressions
False
When using a filter with arguments, what is the result of using the following filter? {{1234.5678|number:5}}
1,234.56780 Rounds to 5 places
The directive normalization process strips what from the front of the element?
x- and data-
What are the phases that every module goes through?
config phase, run phase
How can you get the current url from browser?
$location.path()
What does the $locationProvider do?
Helps configure deep linking within the app
You should use the ng-app directive when manually bootstrapping your app.
false
You should use the ng-app directive when manually bootstrapping your app.
false
___ is an example of an element directive
<mydirective></mydirective>
Angular doesn’t supply URL routing by default.
True
Once you have a Promise, what can you attach?
finally() method