added click funciton for angular json call