diff --git a/scripts/CardListController.js b/scripts/CardListController.js index 2090bd9..c42252d 100644 --- a/scripts/CardListController.js +++ b/scripts/CardListController.js @@ -5,7 +5,7 @@ angular.module('flashy.CardListController', ['ui.router']). $rootScope.currentSection = $rootScope.SectionResource.get({sectionId: sectionId}); $scope.cards = []; - $http.get('/api/sections/' + sectionId + '/flashcards/'). + $http.get('/api/sections/' + sectionId + '/flashcards/?hidden=yes'). success(function(data) { console.log(data); $scope.cards = data; diff --git a/templates/cardlist.html b/templates/cardlist.html index e04e4dd..19f116d 100644 --- a/templates/cardlist.html +++ b/templates/cardlist.html @@ -1,17 +1,15 @@