Answer the question
In order to leave comments, you need to log in
How to call a controller function in nested directives?
Hey guys.
Here he decides to bring his underapplication in angular to a "component view"))
, but there was a problem how to call the function from the MainCtrl controller - main.select(cabinet, time)
plnkr.co/edit/b7K4ay0P6tKVeY4TuqGm
there is of course an option to pass the function through all layers of directives, but maybe there is a better way?
Threat do not kick! ))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question