Fix angularjs tests.