(function () {
  'use strict';

  angular.module('RkyApp.controllers')
    .controller('testRky', ['$scope', function($scope){
      $scope.title = "testRky";
      $scope.d3Data = [
        {capteur: "Rky_L", score:10},
        {capteur: "Rky_L", score: 87}
      ];
    }]);

}());


(function () {
  'use strict';

  angular.module('RkyApp.controllers')
    .controller('httpRky', ['$scope', '$http', function($scope, $http){
      $scope.title = "httpRky";
var url = "/api/v1/list/scale";
$http.get(url)
.then(function(response){
  console.log(response.data);
});
    }]);

}());
@@ -454,16 +454,22 @@
 tpRky%22;%0A
+      
 var url 
@@ -492,16 +492,22 @@
 scale%22;%0A
+      
 $http.ge
@@ -513,16 +513,24 @@
 et(url)%0A
+        
 .then(fu
@@ -553,36 +553,117 @@
 %7B%0A  
-console.log(response.data);%0A
+      %7D);%0A        angular.forEach(response.data,function(value)%7B%0A          console.log(value.scale);%0A        
 %7D);%0A

test sur