got category directive working, now to refactor
organized all the directives' controllers within their respective places in the directive file