I am trying to fetch data from server and assign them to array in sharedScope factory. Next I want to simply inject factory into my two separated controllers and use two-way data binding between them to operate on the same array.
The similar approach I want to achieve is very well described here: https://stackoverflow.com/a/24913983/5195524
Data field has already been assigned and everything works fine. The problem starts when i want to fetch data from server first. What should I do to make the data immediately available in controllers?