Fix for FF and update to angularjs 1.2.10