fix minification onEnter ui-router