Manh Le
Manh Le

Reputation: 1650

Angular 2: Can't resolve all parameters for AppComponent

From this tutorial , I'm trying to make a dynamic modal.

But I don't know what I was missing after seperate source code into files.

Please help me to take a look at: https://plnkr.co/edit/yz7gmBDirrQ6vWkWiZv0?p=preview

Error: (SystemJS) Error: Can't resolve all parameters for AppComponent: (?)

Upvotes: 1

Views: 1858

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657666

import {ModalService} from "./modal.module";

should be

import {ModalService} from "./modal.service";

Upvotes: 2

Related Questions