Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

routing and url params

$
0
0
Im looking to implement ui side routing in my app, switching to a more single page design, its a large app, with a lot of legacy code, it would be nice if i could implement the hasbang routing and also keep the existing url params.

For example, i want #!messages?status=read

to match the pattern ':app'

and have the app be 'messages', where my controllers will grab the status from the url.

However right now its matching and setting app to 'messages?status=read'

Viewing all articles
Browse latest Browse all 3491

Trending Articles