angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.56k stars 3.01k forks source link

Synching of parent Data and child Data #3672

Closed dumma closed 6 years ago

dumma commented 6 years ago

I am trying this UI-router and angular 5 . My issue is this . I want to have a resolved parent data that has to be updated by background job for every 1 minute . Also The parent data that is resolved has to automatically update the child data .

christopherthielen commented 6 years ago

Sounds like a job for observables! You can return an observable from a resolve, and even inject it into a child resolve, which itself returns an observable.

However, this issue tracker isn't for Angular 5, it's for AngularJS. The UI-Router for Angular issue tracker is at https://github.com/ui-router/angular/issues. Also, we ask that questions like these are sent to Stack Overflow, so the issue trackers can be used for issues and feature requests.