var app = angular.module('spicyApp1', []);
app.controller('UserCtrl', ['$http', "$scope",
function($http, $scope) {
$http.jsonp("https://api.privatbank.ua/p24api/pubinfo?json&exchange&coursid=5").success(function(data) {
console.log(data);
});
}
]);