We have used resolve() to split the url and obtain the list of arguments.