Working Product by categories with custom directive