{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/material/issues/5253","labels_url":"https://api.github.com/repos/angular/material/issues/5253/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/5253/comments","events_url":"https://api.github.com/repos/angular/material/issues/5253/events","html_url":"https://github.com/angular/material/issues/5253","id":112167603,"number":5253,"title":"MdTabs - current route is not retaining during browser refresh","user":{"login":"chrisleedavis","id":6451259,"avatar_url":"https://avatars.githubusercontent.com/u/6451259?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisleedavis","html_url":"https://github.com/chrisleedavis","followers_url":"https://api.github.com/users/chrisleedavis/followers","following_url":"https://api.github.com/users/chrisleedavis/following{/other_user}","gists_url":"https://api.github.com/users/chrisleedavis/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisleedavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisleedavis/subscriptions","organizations_url":"https://api.github.com/users/chrisleedavis/orgs","repos_url":"https://api.github.com/users/chrisleedavis/repos","events_url":"https://api.github.com/users/chrisleedavis/events{/privacy}","received_events_url":"https://api.github.com/users/chrisleedavis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T15:18:59Z","updated_at":"2015-10-19T15:18:59Z","closed_at":null,"body":"Angular Material Version - **v0.11.4**\r\nBrowsers and Operating System - **chrome, firefox, & ie (windows 7)**\r\n\r\nThis functionality occurs if you use **ngroute or ui-router**.  Within your NG app, navigate to a page other than home and refresh the browser.  Instead of the browser retaining the current route, the app redirects to home page.  \r\n\r\nWithin **mdTabsTemplate** (link function), $mdUtil.nextTick(handleScope) is called.  Because there is no $timeout present, the processQueue function is executed and redirects the user back to the home page of the application.\r\n\r\nPlunker (to download code sample): http://plnkr.co/edit/WIrj5U4NcDSR5W3KxT3m?p=preview\r\n\r\nBefore browser refresh\r\n![image](https://cloud.githubusercontent.com/assets/6451259/10581871/cf8d4aa8-7652-11e5-95b4-d7f5f7bd9b1c.png)\r\n\r\n\r\nAfter browser refresh\r\n![image](https://cloud.githubusercontent.com/assets/6451259/10581892/e5a57018-7652-11e5-8703-5f292f6c9bcc.png)\r\n"}}