-2
.controller('StocksCtrl',['$scope','$stateParams','$http',
function($scope, $stateParams) {
//http://finance.yahoo.com/webservice/v1/symbols/YHOO/quote?bypass=true&format=json&view=detail
$http.get("http://finance.yahoo.com/webservice/v1/symbols/YHOO/quote?bypass=true&format=json&view=detail")
.then(function(jsonData) {
console.log(jsonData);
});
$scope.ticker = $stateParams.stockTicker;
}]);
hilft meine Antwort Ihnen ??. Wenn nicht, versuche das Problem auf [bottker] (http://plnr.co/) zu replizieren und das wird uns beim Debuggen helfen. –
__OR__ er fehlt Konsolen-Plugin? –