Refactor Angular weather service to take input param for type of forecast to get