A novel 'turn-on' coumarin-based fluorescence probe with aggregation-induced emission (AIE) for sensitive detection of hydrazine and its imaging in living cells.