controller now broadcast events to directive