AngularJS to edit the title of a group + add participant to a group