Angular unit test event listener. .