Angular input event emitter. On second click event emitter triggered twice.