Sha256: 1cd9e1d85e0ab3a8f518839dfb4dff6dbdb17d2361228d05d17c08c70fd07e7a
Contents?: true
Size: 239 Bytes
Versions: 2
Compression:
Stored size: 239 Bytes
Contents
var IndexCtrl = function IndexCtrl($scope, $http, $location) { $http.get("/api/robots").success(function(data) { $scope.robots = data.robots; }); $scope.details = function (robot) { $location.path("robots/" + robot); } };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
robeaux-0.3.0 | js/controllers/index_ctrl.js |
robeaux-0.2.0 | js/controllers/index_ctrl.js |