ui-router-bug snippet