Fixed the back button issue: https://github.com/angular-ui/ui-router/issues/1540#issuecomment-63105738