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 · Advanced
10 questions · Question 1 of 10
10%
Multiple Choice
Expert
How would you programatically change or adapt the template of a directive before it is executed and transformed?
A
We should use the compile function.
B
We should use the ngPattern directive to perform a regex match that matches Twitter usernames.
C
ng show / ng hide will always insert the DOM element, but will display/hide it based on the condition.
D
Scope is a JavaScript object that refers to the application model.
Previous
Next