now testing directives in karma
made tests more meaningful
added tests for slice
now testing for each route that exists so far
added routing and category test specs to karma configuration
attempting to unit test category controller
added ID
added spec file for category controller
did some refactoring