preselect default category when subscribing

This commit is contained in:
Athou
2013-05-01 14:08:14 +02:00
parent 4111b49d5f
commit 682e2d525f

View File

@@ -31,7 +31,9 @@ function($scope, FeedService, CategoryService) {
$scope.CategoryService = CategoryService;
$scope.open = function() {
$scope.sub = {};
$scope.sub = {
categoryId: 'all'
};
$scope.isOpen = true;
};
@@ -79,7 +81,9 @@ function($scope, FeedService, CategoryService) {
$scope.openCategory = function() {
$scope.isOpenCategory = true;
$scope.cat = {};
$scope.cat = {
parentId: 'all'
};
};
$scope.closeCategory = function() {