categories controller and service (AngularJS); updates API routes in services (AngularJS)