Fix broken dependencies and breaking api changes due to updates of Angular and Angular-ui.