angular event controller added