Routing has been separated from Angular.js into a separate ngRoute module. To use routing, ngRoute must be
loaded as a dependency for your main module. This module notifies you if you have routing in your application but
you have not loaded ngRoute.
The ng-app directive is provided to bootstrap a module as the main module of an Angular application.
<!doctype html>
<html ng-app='sampleApp' ng-hint>
<head>
<meta charset="utf-8">
<title>Angular Hint Example</title>
</head>
<body ng-controller="HintController">
...
</html>
However, this directive can only bootstrap one module as the main module of the application. Using the directive multiple times will not bootstrap multiple modules. The following is an error, and will produce an AngularHintModules message:
<!doctype html>
<html ng-app='sampleApp' ng-hint>
<head>
<meta charset="utf-8">
<title>Angular Hint Example</title>
</head>
<body ng-app='sampleAllHint' ng-controller="HintController">
...
</body>
</html>