Trying to make an API call.
var app = angular.module("testApp", []);
app.controller("mCtrl", ["$scope", "$http", function($scope, $http) {
$http.jsonp("api.openweathermap.org/data/2.5/weather?q=London,uk&APPID={APIKEY}")
.success(function(data) {
$scope.data = data;
console.log($scope.data);
});
}]);
Keep getting a 404 response. I can access the data when using the address in the browser though.