upgrade to angularjs 1.2