open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
AngularJS · Intermediate
10 questions · Question 1 of 10
10%
Multiple Choice
Mid
How do you reset a $timeout , $interval() , and disable a $watch() ?
A
To reset a timeout and/or $interval , assign the result of the function to a variable and then call the .cancel() function: var customTimeout = $timeout(function () { // arbitrary code }, 55); $timeout.cancel(customTi...
B
Compile – This compiles an HTML string or DOM into a template and produces a template function, which can then be used to link scope and the template together.
C
Scope is an object that refers to the application model.
D
Angular's HTML compiler allows you to teach the browser new HTML syntax.
Previous
Next