How to solve the circular dependencies in angular custom instructions?
For example, the custom directive <my-directive1> depends on <my-directive2>, and <my-directive2> in turn depends on <my-directive1>
Is there any solution for a problem similar to this? ?
女神的闺蜜爱上我2017-06-22 11:55:19
"<my-directive1>depends on<my-directive2>" What does it mean? Data dependencies? Logically? Or function call?
Can it be merged into one?
PHP中文网2017-06-22 11:55:19
Your logic is not smooth. Even if this call is possible, efficiency is still a problem.