Updating to use angular 1.2.x