Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Controller callback is needed? #19

Open
wickY26 opened this issue Oct 10, 2013 · 1 comment
Open

Controller callback is needed? #19

wickY26 opened this issue Oct 10, 2013 · 1 comment

Comments

@wickY26
Copy link

wickY26 commented Oct 10, 2013

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?

@NourSammour
Copy link

i have the same issue too
any solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants