'use strict';

angular.module('reeder.sidebar.controllers', []).
  controller('ReederSidebarController', [
    '$scope', '$http', '$cookies',
    function SidebarController($scope, $http, $cookies) {
      $http.get('/api/feeds/active?api_token=' + $cookies.api_token).success(function(data) {
        $scope.feeds       = data;
        $scope.feeds_count = data.length;
      });
    }
  ]);


'use strict';

angular.module('reeder.sidebar.controllers', []).
  controller('ReederSidebarController', [
    '$scope', '$http',
    function SidebarController($scope, $http) {
      $http.get('/api/feeds/active').success(function(data) {
        $scope.feeds       = data;
        $scope.feeds_count = data.length;
      });
    }
  ]);


Remove manual API token param in ReederSidebarController
Remove manual API token param in ReederSidebarController
