www icon indicating copy to clipboard operation
www copied to clipboard

Consuming APIs in Angular: Displaying Data In Components

Open utterances-bot opened this issue 4 years ago • 3 comments

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/

utterances-bot avatar Aug 10 '20 15:08 utterances-bot

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

rwb196884 avatar Aug 10 '20 15:08 rwb196884

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!

florimondmanca avatar Aug 10 '20 16:08 florimondmanca

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.

nullbytesoftware avatar May 03 '21 14:05 nullbytesoftware