Answer Posted / chaitanya
To prevent accidental name collisions with your code, Angular prefixes names of public objects with $ and names of private objects with $$. So, do not use the $ or $$ prefix in your code.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between promise and observable in angular?
How would you control the size of an element on resize of the window in a component?
How to create a component in angular 2?
In angular js, we need to worry about security holes?
What's new in angular 2? Why you used angular 2?
How to use ng-if/else in angular js?
What is a template in angular7?
Can you explain a situation, when to use dependency injection in angularjs?
How to create custom pipes in angular 2?
What is ng command?
What is the difference between onnginit() and constructor() of a component?
Is $http service is restful web service in angular js?
Why are decorators used in angular 2?
What is angular module factory?
What is difference between $evalAsync and $timeout?