Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed rd-dev-ukraine/angular-io-datepicker#48, updated package.json d… #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
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