Angular2: TypeError: Cannot read property 'visitStatement' of undefined

If you get the following runtime error in your Angular2 app,

TypeError: Cannot read property ‘visitStatement’ of undefined

Remove any empty event handlers like,

(click)=""