'use strict';
+ /**
+ * @ngdoc overview
+ * @name app
+ *
+ * @requires app.core
+ * @requires app.welcome
+ *
+ * @description
+ * # app
+ *
+ * ## Main module for the current application
+ * There are several sub-modules included with the app module.
+ */
angular.module('app', [
/* Shared modules */
'app.core',
(function() {
'use strict';
+ /**
+ * @ngdoc overview
+ * @name app.core
+ *
+ * @requires ui.router
+ * @requires ui.bootstrap
+ * @requires ui.bootstrap.modal
+ *
+ * @description
+ * # app.core
+ *
+ * ## core module for the current application
+ * Shared modules across the whole application will be located in the app.core module.
+ */
angular.module('app.core', [
/* 3rd-party modules */
'ui.router',
// Instead I am going to use ngInject because it is cool :)
// Welcome.$inject = ['$location'];
+ /**
+ * @ngdoc object
+ * @name app.welcome.$Welcome
+ *
+ * @requires $location
+ *
+ * @description
+ * Welcome controller.
+ */
/* @ngInject */
function Welcome($location) {
var vm = this;
(function() {
'use strict';
+ /**
+ * @ngdoc overview
+ * @name ui.router.util
+ *
+ * @requires app.core
+ *
+ * @description
+ * # app.welcome
+ *
+ * ## Module welcome.
+ * Module in charge of displaying a nice welcome page.
+ *
+ */
angular.module('app.welcome', [
'app.core'
]);