{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/3371","repository_url":"https://api.github.com/repos/angular-ui/ui-router","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/3371/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/3371/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/3371/events","html_url":"https://github.com/angular-ui/ui-router/issues/3371","id":214540133,"number":3371,"title":"States with optional and unknown Query Params","user":{"login":"migferlab","id":4061915,"avatar_url":"https://avatars0.githubusercontent.com/u/4061915?v=3","gravatar_id":"","url":"https://api.github.com/users/migferlab","html_url":"https://github.com/migferlab","followers_url":"https://api.github.com/users/migferlab/followers","following_url":"https://api.github.com/users/migferlab/following{/other_user}","gists_url":"https://api.github.com/users/migferlab/gists{/gist_id}","starred_url":"https://api.github.com/users/migferlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migferlab/subscriptions","organizations_url":"https://api.github.com/users/migferlab/orgs","repos_url":"https://api.github.com/users/migferlab/repos","events_url":"https://api.github.com/users/migferlab/events{/privacy}","received_events_url":"https://api.github.com/users/migferlab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T22:03:46Z","updated_at":"2017-03-16T11:02:15Z","closed_at":"2017-03-16T11:02:15Z","body":"This is a:\r\n\r\n- [ ] Bug Report\r\n- [ ] Feature Request\r\n- [x] General Query \r\n\r\nMy version of UI-Router is: 0.3.1\r\n\r\n\r\n# General Query\r\n\r\n- [x] I have already asked my question on StackOverflow and nobody could answer the question\r\n\r\n- [x] I have already reviewed the sample application for examples of common approaches\r\n\r\n- [x] I believe my question can only be answered by the UI-Router maintainers\r\n\r\nHello !!\r\n\r\nSomebody knows how to create states structure that permits something like this:\r\n\r\n1. https://urlexample.com/route?unknownParam1=1&unknownParam2=2....\r\n2. https://urlexample.com/route\r\n3. https://urlexample.com/route/ -> redirect to 2\r\n\r\nIn case with QueryParams, I don't know the names and number of params.\r\n\r\nI want that the three URLs goes to the same state without losing the query params. And without duplicating states.\r\n\r\nI have checked the app demo with angularjs but these demo app was created with 1.0 version of ui-router and ES6 typescript.\r\n\r\nCould somebody help me? \r\nThanks !!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/287024474","html_url":"https://github.com/angular-ui/ui-router/issues/3371#issuecomment-287024474","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/3371","id":287024474,"user":{"login":"migferlab","id":4061915,"avatar_url":"https://avatars0.githubusercontent.com/u/4061915?v=3","gravatar_id":"","url":"https://api.github.com/users/migferlab","html_url":"https://github.com/migferlab","followers_url":"https://api.github.com/users/migferlab/followers","following_url":"https://api.github.com/users/migferlab/following{/other_user}","gists_url":"https://api.github.com/users/migferlab/gists{/gist_id}","starred_url":"https://api.github.com/users/migferlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migferlab/subscriptions","organizations_url":"https://api.github.com/users/migferlab/orgs","repos_url":"https://api.github.com/users/migferlab/repos","events_url":"https://api.github.com/users/migferlab/events{/privacy}","received_events_url":"https://api.github.com/users/migferlab/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T11:02:15Z","updated_at":"2017-03-16T11:02:15Z","body":"Sorry, I have a $state.go to toState state in a $stateChangeStart event. I don't define query params in url of the states so when $state.go goes to state, goes to url without parameters.\r\n\r\nThanks !!"}}
{"actor":{"display_login":"migferlab"}}