demo of an issue using angular-ui-router