Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Thanks @Mehari! That worked perfect, saved me days probably, and I'm sure it will help many others. Also I think this reminds me that I should put as much logic in the components themselves as possible. Commented Dec 4, 2016 at 20:53
  • @jason glad I helped. Commented Dec 5, 2016 at 5:43
  • I have the same situation as above and i have implemented it and it works fine. If i have empty results what is the condition that i need to give?@Mehari Commented Aug 24, 2017 at 9:04
  • why use async in the template if you are subscribing in the controller?.. is that really needed? Commented Nov 9, 2017 at 9:57
  • @Mackelito you right, updated accordingly. The intention was to clarify things for the original question hence it uses async pipe. Commented Nov 9, 2017 at 12:18