code: function(height, refresherMethods) {
      var self = this;
  
      self.__refreshHeight = height;
      self.__refreshActivate = function() { ionic.requestAnimationFrame(refresherMethods.activate); };
      self.__refreshDeactivate = function() { ionic.requestAnimationFrame(refresherMethods.deactivate); };
      self.__refreshStart = function() { ionic.requestAnimationFrame(refresherMethods.start); };
      self.__refreshShow = function() { ionic.requestAnimationFrame(refresherMethods.show); };
      self.__refreshHide = function() { ionic.requestAnimationFrame(refresherMethods.hide); };
      self.__refreshTail = function() { ionic.requestAnimationFrame(refresherMethods.tail); };
      self.__refreshTailTime = 100;
      self.__minSpinTime = 600;
    }
docs: Activates pull-to-refresh. A special zone on the top of the list to start a list refresh whenever
  the user event is released during visibility of this zone. This was introduced by some apps on iOS like
  the official Twitter client.
  
  @param height {Integer} Height of pull-to-refresh zone on top of rendered list
  @param activateCallback {Function} Callback to execute on activation. This is for signalling the user about a refresh is about to happen when he release.
  @param deactivateCallback {Function} Callback to execute on deactivation. This is for signalling the user about the refresh being cancelled.
  @param startCallback {Function} Callback to execute to start the real async refresh action. Call {@link #finishPullToRefresh} after finish of refresh.
  @param showCallback {Function} Callback to execute when the refresher should be shown. This is for showing the refresher during a negative scrollTop.
  @param hideCallback {Function} Callback to execute when the refresher should be hidden. This is for hiding the refresher when it's behind the nav bar.
  @param tailCallback {Function} Callback to execute just before the refresher returns to it's original state. This is for zooming out the refresher.
  @param pullProgressCallback Callback to state the progress while pulling to refresh