AngularJS $rootElement Example

                                         
AngularJS application module can be defined using ngApp directive.The element where the ngApp directive used is also known as root element.This element can be accessed using $rootElement object provided by AngularJS.In this Demo, "We will see an example of using $rootElement to change the background color of the body element".Below code shows the us...
 •  0 comments  •  flag
Share on Twitter
Published on November 07, 2014 10:31
No comments have been added yet.