fix angular unit test