Upgraded to angularjs 1.3.0