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

Does bootstrap require jquery?

779


How many scopes can an application have?

783


What is difference between ng bind and expression?

770


what is the difference between one-way binding and two-way binding in angularjs?

809


How to get user input from a template reference variable?

805


Differentiate between @injectable() vs. @Inject()?

778


How is angularjs compiled?

828


What angular js routes does?

814


Why is typescript used in angular?

839


How to catch and log specific angular errors in your app?

862


Is angular 2 object oriented?

808


What are the new features of angular 2?

776


What is router state in angular 2?

806


What is the difference between a module’s forroot() and fairchild() methods and why do you need it?

810


What is injectors?

823