From a087fa37bc3835c7d9cdff9288a287cbbe341d47 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 19 Aug 2014 17:09:17 +0200 Subject: [PATCH] comment out unnecessary part --- public/app/js/main/controllers/BalanceCtrl.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/app/js/main/controllers/BalanceCtrl.js b/public/app/js/main/controllers/BalanceCtrl.js index df8265bc..1276ea86 100644 --- a/public/app/js/main/controllers/BalanceCtrl.js +++ b/public/app/js/main/controllers/BalanceCtrl.js @@ -104,10 +104,11 @@ app.controller( 'BalanceCtrl', count: 999 // count per page }, { counts: [], // hide page counts control - total: 1, // value less than count hide pagination - getData: function($defer, params) { - $defer.resolve(data.slice((params.page() - 1) * params.count(), params.page() * params.count())); - } } ); + total: 1//, // value less than count hide pagination + // getData: function($defer, params) { + // $defer.resolve(data.slice((params.page() - 1) * params.count(), params.page() * params.count())); + // } + } ); var retrieve_data = function() { $scope.balance = { expenses: [],