AngularJS Scope Methods Reference

Learn how to use AngularJS Scope APIs to watch single scope properties, creates a new child scope, removes the current scope,value changes in scope properties or variables and listens dispatched events of a given type. Complete reference of AngularJS Scope API's. Click on "Try Now" button to modify and test code yourself.

Table: AngularJS - Scope Methods Reference

Scope MethodsDescriptionLive Demo
$watchThis method is used to watch value changes in scope properties or variables.Try Now
$watchGroupThis method is used to watch value in scope array variable.Try Now
$watchCollectionThis method is used to observe properties on a single object.Try Now
$onThis method is used to listens dispatched events of a given typeTry Now
$emitThis method is used to dispatches an event name upwards and travel up to $rootScope.scope listeners.Try Now
$broadcastThis method is used to dispatches an event name downward to all child scopes notify the registered $rootScope listeners.Try Now
$newThis scope object method creates a new child scope.Try Now
$digestThis scope method processes all of the watchers of the current scope and its children.Try Now
$destroyThis scope method is used to removes the current scope (and all of its children) from the parent scope.Try Now
$evalThis scope method is used to executes the expression on the current scope and returns the result.Try Now
$applyThis scope method is used to execute an expression in angular from outside of the angular framework. Try Now

See Also

AngularJS Built-in Filters
AngularJS Built-in Directives
AngularJS Expression
AngularJS Built-in Events
AngularJS Scope Methods
AngularJS Built-in Services
AngularJS Controller Inheritance
AngularJS Custom Directives


SHARE THIS IF YOU LIKE!
submit to reddit

SUBSCRIBE FOR LATEST UPDATES
HAVE WE CONNECTED ON FACEBOOK?
TOP TUTORIALSTOP CODE EXAMPLESTOP LIVE DEMOLINKSSTAY CONNECTED
HTML Tutorial
HTML5 Tutorial
Bootstrap3 Tutorial
Javascript Tutorial
TypeScript Tutorial
AngularJS Tutorial
CSharp Tutorial
PHP Tutorial
Developer Tools
Javascript
AngularJS
Google MAP API V3
ASP.NET
Javascript
AngularJS
Google MAP API V3
Contact Us
Advertise with Us
Privacy Policy
Disclaimer
Stay connected. We actually like you. If you want to get up to the minute updates, then connect with us on your fav below.
 
Twitter   Linkedin   Facebook   Google+    RSS   Pinterest
 
Protected by Copyscape Original Content Checker
 
 
Copyright ©2017 www.techstrikers.com Unauthorized reproduction/replication of any part of this site is prohibited.