Share url feature, jquery code changed to angular code for add buttons