Fix minify injection

Fix injection of $document in DraggableDirective.