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 angularjs architecture?

825


How to implement routing in angularjs?

821


Global variables in angularjs?

851


How would you optimize the angular 2 application for better performance?

811


What are services in javascript?

799


What is ngaftercontentinit?

803


What is the use of systems? How is webpack better to use in angular?

805


What is pipes? Why use pipes?

925


What are the key features/concepts of Angular.js?

822


What are module loaders in angular?

842


What is binding in js?

794


How to setup and install ionic framework with angular 4?

876


How to install cookies in angular?

849


How to create datepicker in angular 4?

884


What do you understand by linking function?

901