Skip to content

Commit

Permalink
feat(ui): add default angular module for custom workflow interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbotros committed May 11, 2017
1 parent c510139 commit c1740d6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions orchestra/static/orchestra/main.es6.js
Expand Up @@ -12,18 +12,15 @@ import timing from 'orchestra/timing/timing.module.es6.js'

import config from 'orchestra/config.es6.js'

window.orchestra.angular_modules.map(module => {
angular.module(module, [])
})

angular.module('orchestra.analytics', [])

// Include any custom workflow modules as dependencies
angular.module('orchestra.workflows', window.orchestra.angular_modules)

angular
.module('orchestra', [
'ngRoute', common, timing, dashboard, task,
projectManagement, 'orchestra.analytics',
// Include angular modules from Orchestra workflow steps
...window.orchestra.angular_modules
projectManagement, 'orchestra.analytics', 'orchestra.workflows'
])
.config(config)
.run(($http, $location, $rootScope, $window) => {
Expand Down

0 comments on commit c1740d6

Please sign in to comment.