Codit / lunchorder

Order lunch at your enterprise with ease
MIT License
10 stars 6 forks source link

Menu api call should only be triggered once #49

Closed jvanderbiest closed 7 years ago

jvanderbiest commented 8 years ago

Pass menu from app.component to app.information component instead of re-requesting it there.

jvanderbiest commented 8 years ago

solution: call share on observable

http://stackoverflow.com/questions/36271899/what-is-the-correct-way-to-share-the-result-of-an-angular-2-http-network-call-in