Last active
August 29, 2015 14:13
-
-
Save rolaveric/6e56f740eac0275397b4 to your computer and use it in GitHub Desktop.
Example of declaring all module imports with ES6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| import 'angular'; | |
| import 'angular-route'; | |
| import './components/version/version'; | |
| import './components/version/interpolate-filter'; | |
| import './components/version/version-directive'; | |
| import './view1/view1'; | |
| import './view2/view2'; | |
| // Declare app level module which depends on views, and components | |
| angular.module('myApp', [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment