Hello Team,
I recently have enrolled to the course of NgRx. I am a student and new to the Angular, so exploring new things. I observed following error while executing the code 1-start, I downloaded the code through zip.
I think we should add loading$: Observable<boolean> in CourseComponent class. I tried this at my end and it worked.
ERROR in src/app/courses/course/course.component.html:7:42 - error TS2339: Property 'loading$' does not exist on type 'CourseComponent'.
7 <div class="spinner-container" *ngIf="(loading$ | async )">
~~~~~~~~
src/app/courses/course/course.component.ts:12:16
12 templateUrl: './course.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component CourseComponent.
Kindly give suggestions on this.
Thank you,
Aditi