nw-category-item.html 475 B

1234567891011121314151617
  1. <a class="sort-menu-item"
  2. ng-class="{'active': isActive()}"
  3. ng-click="makeActive()">
  4. <i class="icon left {{category.icon}}"></i>
  5. {{category.name}}
  6. ({{categoryCount()}})
  7. <i class="icon close"
  8. ng-if='isActive()'
  9. ng-click="makeInactive($event)"></i>
  10. </a>
  11. <!-- Simple Version -->
  12. <!-- <a class="sort-menu-item" ng-class="{'active': categoryActive()}" ng-click="makeActive()">
  13. <i class="icon left {{category.icon}}"></i> {{category.name}}
  14. </a> -->