Comb and hair, is that an example for ionic boding?
No, not at all. It is an example for triboelectric charging. A mechanical example for this type of electrostatic generators would be a Van de Graaff generator. 

But all this has nothing to do with ionic bonds.