angular.module('futurism')
    .controller('LoadupDeckCtrl', function($scope, loadup, DeckResource) {
        'use strict';

        loadup.resumePrep();

        $scope.decks = DeckResource.query(function(){});
        $scope.rules = loadup.rules;

        $scope.select = function(deck) {
            loadup.selectDeck(deck._id);
        };

    });

angular.module('futurism')
    .controller('LoadupDeckCtrl', function($scope, loadup, DeckResource) {
        'use strict';

        loadup.resumePrep();

        $scope.decks = DeckResource.query({canon: true}, function(){});
        $scope.rules = loadup.rules;

        $scope.select = function(deck) {
            loadup.selectDeck(deck._id);
        };

    });

load canon decks as defaults before a match