added a controller to for communication between two directives
add another directive that use the controller from another directive