Remove unecessary dependency to $routeParams.