Skip to content

Commit

Permalink
chore(docs): Add instructions for ModalModule import (#1198)
Browse files Browse the repository at this point in the history
Given issues #1027 and #1143, ModalModule import instructions should indicate where to import the module.
  • Loading branch information
AryanJ-NYC authored and valorkin committed Nov 4, 2016
1 parent 49197f0 commit 7b0d98a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/modal/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { ModalModule } from 'ng2-bootstrap/ng2-bootstrap';
import { ModalModule } from 'ng2-bootstrap/components/modal';
```

Add the ModalModule import to the imports array of the child module that uses the modal, not the AppModule.

### Annotations
```typescript
@Directive({
Expand Down

0 comments on commit 7b0d98a

Please sign in to comment.