Skip to content

Instantly share code, notes, and snippets.

@rolaveric
Last active August 29, 2015 14:13
Show Gist options
  • Save rolaveric/6e56f740eac0275397b4 to your computer and use it in GitHub Desktop.
Save rolaveric/6e56f740eac0275397b4 to your computer and use it in GitHub Desktop.
Example of declaring all module imports with ES6
'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