accept map events as directive attribute, multiple maps in demo