Update to angular 1.2.x and angular-ui 0.8.x