{"action":"created","issue":{"url":"https://api.github.com/repos/christopherthielen/ui-router-extras/issues/304","repository_url":"https://api.github.com/repos/christopherthielen/ui-router-extras","labels_url":"https://api.github.com/repos/christopherthielen/ui-router-extras/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/christopherthielen/ui-router-extras/issues/304/comments","events_url":"https://api.github.com/repos/christopherthielen/ui-router-extras/issues/304/events","html_url":"https://github.com/christopherthielen/ui-router-extras/issues/304","id":141150897,"number":304,"title":"TypeError: Cannot read property 'ignoreDsr' of undefined","user":{"login":"chamnassi","id":17866061,"avatar_url":"https://avatars.githubusercontent.com/u/17866061?v=3","gravatar_id":"","url":"https://api.github.com/users/chamnassi","html_url":"https://github.com/chamnassi","followers_url":"https://api.github.com/users/chamnassi/followers","following_url":"https://api.github.com/users/chamnassi/following{/other_user}","gists_url":"https://api.github.com/users/chamnassi/gists{/gist_id}","starred_url":"https://api.github.com/users/chamnassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamnassi/subscriptions","organizations_url":"https://api.github.com/users/chamnassi/orgs","repos_url":"https://api.github.com/users/chamnassi/repos","events_url":"https://api.github.com/users/chamnassi/events{/privacy}","received_events_url":"https://api.github.com/users/chamnassi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T02:04:15Z","updated_at":"2016-03-17T23:13:27Z","closed_at":null,"body":"When ct.ui.router.extras.dsr initialize.\r\n\r\n$state.transitionTo = function (to, toParams, options) {\r\n     if (options.ignoreDsr) { //if the options are undefined, will throw exception.\r\n        ignoreDsr = options.ignoreDsr;\r\n      }\r\n     ...\r\n}\r\n\r\nIn my opinion, It is require undefined check.\r\nlike this..\r\nif (options && options.ignoreDsr) {\r\n...\r\n}\r\n\r\n\r\n//error stack\r\nangular.js:11655 TypeError: Cannot read property 'ignoreDsr' of undefined\r\n    at Object.$state.transitionTo (ct-ui-router-extras.js:204)\r\n    at Object.$state.transitionTo (ct-ui-router-extras.js:1726)\r\n    at Object.$state.transitionTo (ct-ui-router-extras.js:1193)\r\n    at app.main.js:13\r\n    at angular.js:9408\r\n    at processQueue (angular.js:13248)\r\n    at angular.js:13264\r\n    at Scope.$eval (angular.js:14466)\r\n    at Scope.$digest (angular.js:14282)\r\n    at Scope.$apply (angular.js:14571)"},"comment":{"url":"https://api.github.com/repos/christopherthielen/ui-router-extras/issues/comments/198124203","html_url":"https://github.com/christopherthielen/ui-router-extras/issues/304#issuecomment-198124203","issue_url":"https://api.github.com/repos/christopherthielen/ui-router-extras/issues/304","id":198124203,"user":{"login":"danielschuetter","id":5623328,"avatar_url":"https://avatars.githubusercontent.com/u/5623328?v=3","gravatar_id":"","url":"https://api.github.com/users/danielschuetter","html_url":"https://github.com/danielschuetter","followers_url":"https://api.github.com/users/danielschuetter/followers","following_url":"https://api.github.com/users/danielschuetter/following{/other_user}","gists_url":"https://api.github.com/users/danielschuetter/gists{/gist_id}","starred_url":"https://api.github.com/users/danielschuetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielschuetter/subscriptions","organizations_url":"https://api.github.com/users/danielschuetter/orgs","repos_url":"https://api.github.com/users/danielschuetter/repos","events_url":"https://api.github.com/users/danielschuetter/events{/privacy}","received_events_url":"https://api.github.com/users/danielschuetter/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T23:13:27Z","updated_at":"2016-03-17T23:13:27Z","body":"#307 "}}