moved some functions to category directive scope

This commit is contained in:
Athou
2013-04-24 13:11:34 +02:00
parent edb345da9c
commit cde844b4a5
4 changed files with 46 additions and 56 deletions

View File

@@ -1,10 +1,7 @@
<div class="css-treeview" ng-controller="CategoryTreeCtrl">
<ul>
<category node="CategoryService.subscriptions"
feed-click="feedClicked(id)" category-click="categoryClicked(id)"
selected-type="selectedType" selected-id="selectedId"
format-category-name="formatCategoryName(category)"
format-feed-name="formatFeedName(feed)"
unread-count="unreadCount(category)"> </category>
</ul>
</div>