Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between $scope and scope?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is decorator in angular?

810


Explain ng-model directive angularjs?

851


What are the security threats should we be aware of in angular 2 application?

849


How to starting angular 4 apps using ionic 3 cli commands?

950


How to generating new pipes, tabs, components and pages using ionic 3 cli in angular 4?

942


What is "track by" in angularjs and how does it work?

852


What is ng full form?

797


What is the difference between annotation and decorator in angular 2?

847


What is aot in angular?

837


Why do we use factory in angularjs?

798


Why use node.js?

858


What is routing concept in angularjs?

821


Is angular 2 object oriented?

858


How to use styleurls and styles in angular?

891


How to append base url to http requests in angular?

889