code: function startRefreshWeather() {
        interval = $interval(getWeatherFromServer(options.city), options.delay);
        localforage.setItem('aw.refreshing', true);
      }
docs: Start an interval to refresh the weather cache data with new server data.