We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3088bee commit bb86deeCopy full SHA for bb86dee
client/src/app/app.component.ts
@@ -13,7 +13,8 @@ export class AppComponent implements OnInit {
13
}
14
15
ngOnInit() {
16
- this.coursesService.loadCourseDetail(1);
+ this.coursesService.loadCourseDetail(1)
17
+ .subscribe(console.log);
18
19
20
client/src/app/app.module.ts
@@ -7,6 +7,8 @@ import { AppComponent } from './app.component';
7
import { CourseDetailComponent } from './course-detail/course-detail.component';
8
import {CoursesService} from "./services/courses.service";
9
10
+import 'rxjs/add/operator/map';
11
+
12
@NgModule({
declarations: [
AppComponent,
0 commit comments