Commit 1adf3c3f authored by Aron Carroll's avatar Aron Carroll

Include $document service in the annotation directive

parent d5a6c188
...@@ -29,10 +29,10 @@ validate = (value) -> ...@@ -29,10 +29,10 @@ validate = (value) ->
# {@link annotationMapper AnnotationMapper service} for persistence. # {@link annotationMapper AnnotationMapper service} for persistence.
### ###
AnnotationController = [ AnnotationController = [
'$scope', '$timeout', '$rootScope', '$scope', '$timeout', '$rootScope', '$document',
'auth', 'drafts', 'flash', 'permissions', 'auth', 'drafts', 'flash', 'permissions',
'timeHelpers', 'annotationUI', 'annotationMapper' 'timeHelpers', 'annotationUI', 'annotationMapper'
($scope, $timeout, $rootScope, ($scope, $timeout, $rootScope, $document,
auth, drafts, flash, permissions, auth, drafts, flash, permissions,
timeHelpers, annotationUI, annotationMapper) -> timeHelpers, annotationUI, annotationMapper) ->
@annotation = {} @annotation = {}
......
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