Fix $routeParams for controller