I am trying to pass a string as a url parameter, specifically as param1 in my URL. Here is the router code in my AngularJS code
.when(\'/test/:param1?/:param2