Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Feb 29, 2016
1 parent 717e55f commit 4d435d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ npm install ng2-uploader
`component.ts`
````typescript
import {Component} from 'angular2/core';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader/ng2-uploader';

@Component({
selector: 'demo-app',
Expand Down Expand Up @@ -65,7 +65,7 @@ Response: {{ uploadFile | json }}
`component.ts`
````typescript
import {Component} from 'angular2/core';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader/ng2-uploader';

@Component({
selector: 'basic-multiple',
Expand Down Expand Up @@ -106,7 +106,7 @@ Response: <br/>{{ uploadedFiles | json }}
`component.ts`
````typescript
import {Component, NgZone} from 'angular2/core';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader/ng2-uploader';

@Component({
selector: 'basic-progressbar',
Expand Down Expand Up @@ -176,7 +176,7 @@ Response: <br/>{{ uploadFile | json }}
`component.ts`
````typescript
import {Component, NgZone} from 'angular2/core';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader/ng2-uploader';

@Component({
selector: 'multiple-progressbar',
Expand Down Expand Up @@ -246,7 +246,7 @@ export class MultipleProgressbar {
`component.ts`
````typescript
import {Component} from 'angular2/core';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader/ng2-uploader';

@Component({
selector: 'demo-app',
Expand Down Expand Up @@ -290,7 +290,7 @@ You may want to sent file with specific form field name. For that you can use op
`component.ts`
````typescript
import {Component} from 'angular2/core';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader';
import {UPLOAD_DIRECTIVES} from 'ng2-uploader/ng2-uploader';

@Component({
selector: 'demo-app',
Expand Down

0 comments on commit 4d435d8

Please sign in to comment.