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 the urlsegment interface in angular 7?

803


What are the exit codes in node.js? List some exit codes?

772


Difference between display:none & visiblity:hidden?

709


What are services in javascript?

751


Does google own angular?

782


What is route guard in angular?

767


Explain event in angularjs, list some events you have worked in angularjs?

689


What is router-outlet directive in angular 2?

808


What is router state in angular 2?

743


What is The Manual Bootstrap Process in AngularJS?

812


What is the difference between ng model and ng bind?

734


What do you mean by module in angular 2?

728


What is a function decorator?

688


Which is the best backend technology for angular?

679


What is modular view engine architecture?

756