Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding basic modules #14

Merged
merged 3 commits into from
Jan 12, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/app/api/api.module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function () {
'use strict';

angular
.module('app.api', []);

})();
16 changes: 0 additions & 16 deletions src/app/app.directive.js

This file was deleted.

7 changes: 6 additions & 1 deletion src/app/app.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
'use strict';

angular
.module('app', [])
.module('app', [
'app.api',
'app.event',
'app.model',
'app.view'
])
.constant('app.basePath', 'app/');

})();
7 changes: 7 additions & 0 deletions src/app/event/event.module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function () {
'use strict';

angular
.module('app.event', []);

})();
7 changes: 7 additions & 0 deletions src/app/model/model.module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function () {
'use strict';

angular
.module('app.model', []);

})();
7 changes: 7 additions & 0 deletions src/app/view/view.module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function () {
'use strict';

angular
.module('app.view', []);

})();
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<!-- inject:js -->
<!-- endinject -->
</head>
<body app>
<body console>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this console coming from? Looks like this is a directive that was added in a different branch (basic-layout-components) than this.

</body>
</html>