To set up an Angular App we must follow certain steps as mentioned below:
- angular.module will be created at first.
- A controller will be assigned to the module.
- The module will be linked with the HTML template(i.e. UI or View) with an angular app(ng-app).
- The HTML template will be linked with the controller(i.e JS) with an ng-controller directive.