Commit a6b09ac0 authored by Randall Leeds's avatar Randall Leeds

Move config blocks below all but run blocks

The config blocks should be after the declarations of services, at
least, so that they can decorate services.
parent 73fdb33c
......@@ -86,11 +86,6 @@ module.exports = angular.module('h', [
'toastr'
])
.config(configureDocument)
.config(configureLocation)
.config(configureRoutes)
.config(configureTemplates)
.controller('AppController', require('./app-controller'))
.controller('AnnotationUIController', require('./annotation-ui-controller'))
.controller('AnnotationViewerController', require('./annotation-viewer-controller'))
......@@ -151,6 +146,11 @@ module.exports = angular.module('h', [
.value('AnnotationUISync', require('./annotation-ui-sync'))
.value('Discovery', require('./discovery'))
.config(configureDocument)
.config(configureLocation)
.config(configureRoutes)
.config(configureTemplates)
.run(setupCrossFrame)
.run(setupStreamer)
.run(setupHost)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment