added angularjs 1.3 fixed submit