To fix the issue you can do In order for one directive to use another's controller by use of require, it needs to either share the same element as the controller containing directive, or it has to be a child of it. You can't use require in the way you have, where the elements are siblings.
AngularJS communication from controller to directive
To fix the issue you can do My question is about the communication from a controller to a directive created in the context of that controller. In particular, I'm interested in what's the recommended/best approach in this situation. I can think of three different possibilities: , My personal preference would be to use an event. Using watch
Communication between directive and controller angularjs
Does that help I would like to know if it is possible to send the user some kind of error message when the email already exist. I have some directive like this. : , Yes you can directly show error message into the HTML. try this,