angular-ui/ui-router — pull request #204 by amitava82 (2013-06-24 04:22:40+00:00)
Title: fixed exception when no params passed with transitionTo and url has quer...

...y params

If url template has query params and query params are not passed with $state.transitionTo() then it throws undefined exception. Assign empty object to toParams if it is undefined