In my previous question, I understand that the code var app = angular.module(\'myApp\', []); connects the module app to the view myApp.
var app = angular.module(\'myApp\', []);
app
myApp
angular.module('app', []) is to create a new module without any module dependency.
angular.module('app', [])
angular.module('app') is to retrieve an existing module whose name is app.
angular.module('app')