add angular functionallity