sampleApp.controller('MarketsCtrl', ['$scope', '$http', function($scope, $http) { $http.get("https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-xem") .then(function(data){ $scope.price = data.Last; }). error(function(datas) { log error }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)