Commit 10db14cd authored by Randall Leeds's avatar Randall Leeds

Remove unused injections

parent 2e9b116d
......@@ -3,17 +3,15 @@ angular = require('angular')
module.exports = class AppController
this.$inject = [
'$controller', '$document', '$location', '$rootScope', '$route', '$scope',
'$window',
'$controller', '$document', '$location', '$route', '$scope', '$window',
'auth', 'drafts', 'features', 'identity',
'permissions', 'streamer', 'annotationUI',
'streamer', 'annotationUI',
'annotationMapper', 'threading'
]
constructor: (
$controller, $document, $location, $rootScope, $route, $scope,
$window,
$controller, $document, $location, $route, $scope, $window,
auth, drafts, features, identity,
permissions, streamer, annotationUI,
streamer, annotationUI,
annotationMapper, threading
) ->
$controller('AnnotationUIController', {$scope})
......
......@@ -11,7 +11,6 @@ describe 'AppController', ->
fakeIdentity = null
fakeLocation = null
fakeParams = null
fakePermissions = null
fakeStore = null
fakeStreamer = null
fakeStreamFilter = null
......@@ -68,10 +67,6 @@ describe 'AppController', ->
fakeParams = {id: 'test'}
fakePermissions = {
permits: sandbox.stub().returns(true)
}
fakeStore = {
SearchResource: {
get: sinon.spy()
......@@ -104,7 +99,6 @@ describe 'AppController', ->
$provide.value 'identity', fakeIdentity
$provide.value '$location', fakeLocation
$provide.value '$routeParams', fakeParams
$provide.value 'permissions', fakePermissions
$provide.value 'store', fakeStore
$provide.value 'streamer', fakeStreamer
$provide.value 'streamfilter', fakeStreamFilter
......
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