use angular instead of jquery for click