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

1 Answer

0 votes

$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.

Related questions

0 votes
asked Jan 15, 2020 in Angular by rahuljain1
0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986