Question: what is the difference between ng-app and ng-controller?
Answer: The AngularJS application is defined by ng-app="myApp". The application runs inside the <div>. The ng-controller="myCtrl" attribute is an AngularJS directive. ... The ng-model directives bind the input fields to the controller properties (firstName and lastName).