ng-appattribute tells Angular which parts of the page it should manage. Since we’ve placed it on the
<html>element, we’re telling Angular that we want it to manage the whole page. This will often be what you want, but you might want to place it on a
<div>within the app if you’re integrating Angular with an existing app that uses other methods to manage the page.
ng-app should go on the portion of the page you want to control with angular.
Share this highlighthttp://www.safaribooksonline.com/a/angularjs/27382/