The require attribute of a directive allows you declare a dependency on a 
*controller 
*in another directive, by specifying a directive name (which contains the 
controller).
If that what you are trying to achieve?

On Monday, February 3, 2014 10:25:56 AM UTC+2, Олег Истомин wrote:
>
> Controller 'ngForm', required by directive 'myDirective', can't be found!
>
> require: 'ngModel' work, 'ngForm' doesn't work
> http://plnkr.co/edit/rQ98K7HEJCc9HJHKCdjX
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to