docs: function responseError(response) {
                      var status = response.status;
                      if (status === 401) {
                          $timeout(function () {
                              $window.location.href = '/_auth/login';
                          }, 1000);
                      }
                      return $q.reject(response);
                  }