in Angular by
Q:
What is the difference between $scope and scope in Angular?

▼ Show 1 Answer

0 votes
by

$scope in Angular is used for implementing the concept of dependency injection (D.I) on the other hand scope is used for directive linking.

$scope is the service provided by $scopeProviderwhich can be injected into controllers, directives or other services whereas Scope can be anything such as a function parameter name, etc.

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Jan 15, 2020 in Angular by rahuljain1
...