Upgraded to angularjs 1.0.8