added loader!

This commit is contained in:
didier.amyot committed 2014-05-21 13:03:22 -04:00
1 parent 37209f6779
commit cd28c44c00
13 files changed
+64 -29

No files matched your search

+2 -2
View File
@@ -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
)