- refactored forecast to forecast.dailyForecasts in forecast object
{city: string,
dailyForecast: array of objects
}
got the factory to pass data to controller