anchor.diff:      delete $rootScope.loading_single_folder_feeds[params.folder_id]
       # Update unread counts with the received feeds. Set the unread counter for any feed in the folder but
       # not in the received JSON to zero.
  +    folder = findSvc.find_folder params.folder_id
       update_folder_feeds folder, response.slice()
   
     #--------------------------------------------
  
positive.code:     feedsPaginationSvc.set_busy true
  
      page += 1
      $http.get("/api/feeds.json?include_read=#{$rootScope.show_read}&page=#{page}")
      .success (data)->
        feedsPaginationSvc.load_feeds_page page, data.slice()
        feedsPaginationSvc.set_busy false
  
        # Load the next page of feeds until no more feeds are available
        if data.length < feeds_page_size
          # there are no more pages of feeds to retrieve
          $rootScope.feeds_loaded = true
          feedsPaginationSvc.pagination_finished()
          favicoSvc.update_unread_badge()
          animationsSvc.show_stats()
        else
          # There is probably at least one more page of feeds available
          load_feeds page
      .error (data, status)->
        $rootScope.feeds_loaded = true
        feedsPaginationSvc.set_busy false
        if status == 404
          # if a 404 is returned for the first page, there are no feeds at all. Set all unread counts to zero.
          if page == 1
            if $rootScope.feeds && $rootScope.feeds?.length > 0
              for feed in $rootScope.feeds
                feed.unread_entries = 0
          # If a 404 is returned in a page >1, there are no more feeds and this is the last page.
          else
            feedsPaginationSvc.pagination_finished()
          favicoSvc.update_unread_badge()
          animationsSvc.show_stats()
        else if status!=0
          timerFlagSvc.start 'error_loading_feeds'
  
    #--------------------------------------------
    # PRIVATE FUNCTION: Load a single feed. Receives its id as argument.
  
negative.code:     return if $rootScope.loading_single_folder_feeds[folder.id]
  
      $rootScope.loading_single_folder_feeds[folder.id] = true
      worker.postMessage {operation: LOAD_FOLDER_FEEDS, token: token, folder_id: folder.id, show_read: $rootScope.show_read}
  
    #---------------------------------------------
    # PRIVATE FUNCTION: Update the feeds and their unread counts, for feeds in a folder.
  