What is Angular Prefixes $ and $$?

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


Please Help Members By Posting Answers For Below Questions

What are “streams” in node.js? Explain the different types of streams present in node.js?

434


What are angular prefixes $ and $$?

409


Why decorators are used in angular?

403


How does lazy loading work in angular 6?

362


Explain angular elements?

419






Difference between $rootscope & $scope?

432


Explain what is the injector?

416


How long will it take to learn react?

416


What do you mean by data binding?

439


How does lazy loading work?

417


When will nginit be called? How would you make use of ngoninit()?

444


What is a scope in a project?

419


What is routing concept in angularjs?

426


What are directive words?

382


What is routerstatesnapshot?

421