How do I set url parameter as title?

I want to set the title on the page opened from clicking on a list item. I set what I want the title to be as a parameter in the url. How do I get that parameter and set it as the title on the next page?

you should use the $stateParams in your code to get what ever parameter you send via the url.