making two requests to load categories (one for sub-categories, one for products), implemented active-link directive, adding departmentId to category path