use $routeParams to get url params