Sha256: 86db6a078c3c25f4ef303a6fb82d6d4ba35296de8c48877555fee6f020994e38

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

var IndexCtrl = function IndexCtrl($scope, $http, $location) {
  $http.get("/robots").success(function(data) {
    $scope.robots = data;
  });

  $scope.details = function (robot) {
    $location.path("robots/" + robot);
  }
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
robeaux-0.1.1 js/controllers/index_ctrl.js
robeaux-0.1.0 js/controllers/index_ctrl.js