attach isCurrentCategory to scope for view