Update to angular 1.3.0 and lots of other changes.