updated to angularjs 1.3.0