From da678ed382c398188c14a7abb4b5075695ff06b2 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Mon, 25 May 2015 14:34:46 -0700 Subject: [PATCH] clean up no-cards message --- scripts/FeedController.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/FeedController.js b/scripts/FeedController.js index 5227027..3a612fa 100644 --- a/scripts/FeedController.js +++ b/scripts/FeedController.js @@ -32,21 +32,6 @@ angular.module('flashy.FeedController', ['ui.router']). success(function(data) { console.log(data); $scope.cards = data; - - $scope.noCards = function () { - - - /*if (data.length == 0) { - return true; - } else { - return false; - }*/ - - } - - - - }). error(function(err) { console.log('pulling feed failed'); -- 1.9.1