angular ui-routing fixes