What is the difference between $scope and scope?
Answer / ankush
- The $ in "$scope" indicates that the scope value is being injected into the current context. $scope is a service provided by $scopeProvider. You can inject it into controllers, directives or other services using Angular's built-in dependency injector:
- scope could be anything, it's a function parameter name
function link( scope, element, attributes ) {
// Only scope
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is angular js i18n and l10n language translation?
What is difference between config() and run() method in AngularJS?
1 Answers Citi Bank, SLK Software,
What is "track by" in angularjs and how does it work?
Is react easier than javascript?
What do you understand by services with reference to angular js?
Why angular 4 is faster?
What is traceur compiler ?
When did you use currency filter in angularjs?
What is injector tree?
What is ng full form?
What is the use of ngfortrackby directive?
What are directive behaviors?