first commit. Way too late.
This commit is contained in:
commit
da7cacb57e
35 files changed
+1355
No files matched your search
@@ -0,0 +1,12 @@
|
||||
root = this;
|
||||
|
||||
|
||||
root.controllers.controller('collectionsCtrl', ['$scope', '$routeParams', '$http', ($scope, $routeParams, $http) ->
|
||||
$scope.server = $routeParams.server
|
||||
$scope.database = $routeParams.database
|
||||
$scope.collections = []
|
||||
$http.get("/api/#{ $routeParams.server }/#{ $routeParams.database }/collections").then((res) ->
|
||||
$scope.collections = res.data
|
||||
)
|
||||
|
||||
])
|
||||
Reference in new issue
Block a user