added loader!
This commit is contained in:
1 parent
37209f6779
commit
cd28c44c00
13 files changed
+64
-29
No files matched your search
@@ -1,9 +1,9 @@
|
||||
root = this;
|
||||
|
||||
|
||||
root.controllers.controller('serversCtrl', ['$scope', '$http', ($scope, $http) ->
|
||||
root.controllers.controller('serversCtrl', ['$scope', 'util', ($scope, util) ->
|
||||
$scope.servers = []
|
||||
$http.get("/api/servers").then((res) ->
|
||||
util.get("/api/servers").then((res) ->
|
||||
$scope.servers = res.data
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user