angular.module('cardboard').controller('xxport', ['$scope', 'cardboardService',
function($scope, cardboardService) {
    
    $scope.exportData = function() {
        saveTextAs(JSON.stringify(cardboardService.cardboard), 'cardboard-' + Date.now().toString());
    }
    
    $scope.importData = function(a, b, c) {

    }
}]);

@@ -251,16 +251,26 @@
 String()
+ + '.json'
 );%0A    %7D

Update xxport.js