add functionality to the respective directives in order to be able to edit users.

This functionality can be bound by the parent scope instantiating the directive.