moved hide_gift code to GiftsCtrl in angular