Update angular and use ui-router