diff --git a/home.html b/home.html index c6ed3b9..4c8b431 100644 --- a/home.html +++ b/home.html @@ -78,7 +78,7 @@ {{section.short_name}}
-
  • Add Class
  • +
  • Add Class
  • diff --git a/scripts/FeedController.js b/scripts/FeedController.js index 30d6433..5227027 100644 --- a/scripts/FeedController.js +++ b/scripts/FeedController.js @@ -35,13 +35,12 @@ angular.module('flashy.FeedController', ['ui.router']). $scope.noCards = function () { - alert(data.length); - if (data.length == 0) { + /*if (data.length == 0) { return true; } else { return false; - } + }*/ } @@ -98,6 +97,13 @@ angular.module('flashy.FeedController', ['ui.router']). success(function(data) { console.log(data); $scope.cards = data; + + /*if (data.length == 0) { + return true; + } else { + return false; + }*/ + console.log('success in refresh cards...'); }). error(function(err) {