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?



What is the difference between $scope and scope?..

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

More AngularJS Interview Questions

What is the purpose of exports in a ngmodule?

0 Answers  


What is a controller?

0 Answers  


What is the syntax for creating a new date object?

0 Answers  


What is model in angular?

0 Answers  


How do you define a module?

0 Answers  


How does oauth 2.0 work?

0 Answers  


How do you check if I have angular cli installed?

0 Answers  


What is the use of arrow function in angular 2?

0 Answers  


What is the difference among "declarations", "providers" and "import" in ngmodule?

0 Answers  


What is in node js?

0 Answers  


What is angular singleton service?

0 Answers  


When dependent modules of a module are loaded?

1 Answers  


Categories