Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ npm i angular-io-datepicker --save
You'll need to add `DatePickerModule` and `OverlayModule` to your application module. There has to be `FormsModule`. If you use Model-Driven Form you'll need to add `ReactiveFormModule` too.

```typescript
import { FormsModule, ReactiveFormModule } from '@angular/forms';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { OverlayModule } from "angular-io-overlay";
import { DatePickerModule } from "angular-io-datepicker/src/datepicker/index";

Expand All @@ -29,7 +29,7 @@ import { DatePickerModule } from "angular-io-datepicker/src/datepicker/index";
],
imports: [
FormsModule,
ReactiveFormModule,
ReactiveFormsModule,
OverlayModule,
DatePickerModule,
...
Expand All @@ -42,7 +42,7 @@ export class AppModule {
}
```

##### Template-Driven Form
##### Template-Driven Form

Simply add `date-picker` element with options to your form:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"angular-io-overlay": "^1.2.7",
"angular-io-overlay": "1.2.7",
"core-js": "^2.4.1",
"moment": "^2.14.1",
"rxjs": "^5.1.0",
Expand Down