You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
I am trying to implement lazy loading for my project and for doing this I used your seed project, till now it works perfectly I set up all things and worked as I intended.
the problem is when I tried to use one of my directives which needs some attributes from controller cannot get attributes because directives start working after controller injected but in your project controller should be injected in controller, and while controller doing this directives started already and catch all attributes as undefined (because real controller still working and no attributes variable is filled).
So first solution which comes to my mind is adding callback to controller to be sure all variables are filled.
do you have any other suggestion?
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to implement lazy loading for my project and for doing this I used your seed project, till now it works perfectly I set up all things and worked as I intended.
the problem is when I tried to use one of my directives which needs some attributes from controller cannot get attributes because directives start working after controller injected but in your project controller should be injected in controller, and while controller doing this directives started already and catch all attributes as undefined (because real controller still working and no attributes variable is filled).
So first solution which comes to my mind is adding callback to controller to be sure all variables are filled.
do you have any other suggestion?
The text was updated successfully, but these errors were encountered: