added enlapsed time to make the query on document.
This commit is contained in:
1 parent
14ce42475e
commit
abcff05635
3 files changed
+15
No files matched your search
@@ -25,6 +25,7 @@ root.controllers.controller('documentCtrl', ['$scope', '$routeParams', '$locatio
|
||||
util.get(url).then((res) ->
|
||||
$scope.doc = res.data.document
|
||||
$scope.meta = res.data.meta
|
||||
$scope.enlapsed_time = res.data.enlapsed_time
|
||||
).catch( (res) ->
|
||||
if res.data.error == "not found"
|
||||
$scope.notfound = true
|
||||
|
||||
Reference in new issue
Block a user