Upgraded to angular 1.2