florimondmanca / www

Code for https://florimond.dev
MIT License
32 stars 10 forks source link

Consuming APIs in Angular: Displaying Data In Components #93

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Consuming APIs in Angular: Displaying Data In Components

Learn how to fetch a list of items from a REST API and display it in an Angular component.

https://florimond.dev/blog/articles/2019/02/consuming-apis-in-angular-displaying-data-in-components/

rwb196884 commented 4 years ago

This is complete rubbish; the CourseService class simply doesn't do anything.

florimondmanca commented 4 years ago

Hi @rwb196884,

The listing for CourseService is abbreviated in this post, you can see the full listing in the previous post: The Model-Adapter Pattern, which was mentioned in the introduction of this post.

Also, I’d highly appreciate if we could stay polite and respectful around here. For example, it would have been more appropriate to phrase this as, “Is the CourseService an empty class, or am I missing something?”.

Greetings!

nullbytesoftware commented 3 years ago

Thanks for the article. Although it would have been better if you have included error handling and displaying loaders/spinners while the data being fetched. Thanks nonetheless.