Changes required to upgrade to angular js 1.2 release candidate so we can use ngAnimate