removed angular controller code