Posted On: Feb 22, 2018
$rootscope is the parent of all scopes while $scope is merely an object instance of a controller. $rootscope is global while $scope is local i.e. it’s available only to the controller it’s passed to.
Never Miss an Articles from us.
AngularJS is a javascript framework which helps in developing web applications in MVC architectural pattern & SPA or..
Angular directives are the attributes which are decorated on the html tags or elements of an html page. Directives have ..
Angular provides the ability to create our own directives to implement our own custom templates or logic in our web appl..