What is difference between $document and window.document in AngularJS?
Answer Posted / chaitanya
$document is an Angular service which reference to the browser's window.document object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Distinguish between angularjs and javascript expressions.
Why decorators are used in angular?
List the differences between observables and promises in angular 2?
Which Angular Directive Would You Use To Hide An Element From The DOM Without Modifying Its Style?
Why services are used in angularjs?
What is package json in angular?
What is forwardref?
What is angular testing? What are isolated unit tests? What are angular testing utilities?
What is the use of decorators in angular?
What is pipes in angular 2?
Explain what is di (dependency injection) and how an object or function can get a hold of its dependencies?
what is linking function and type of linking function?
What is fxflex in angular?
How to implement routing in angularjs?
Wht do we use directive?