implemented $state.params and fixed an issue in the $route Service