title: How do I add a click event on OpenLayers 4?
body: <p>I need to attach an event listener to a feature in OpenLayers 4.
  I've tried the <em>feature.on('click',function(){...})</em> but it is not working.
  How can i add tan event to a feature?
  Thank you in advance.</p>