1.3 Forecast.js


#1

app.factory('forecast', ['$http',
function($http) {
return
$http.get('https://s3.amazonaws.com/codeacademy-content/courses/ltp4/forecast-api/forecast.json')
.success(function(data) {
return data;
})
.error(function(err) {
return err;
});
}]);

Here is my code, it appears to be exactly what they asked for in the example. When i click run it asks if i created forecast.js. Which was already created for me and what i wrote my code in correct?