DEV Community

Discussion on: Customize date picker in Angular

Collapse
lancescape profile image
lancescape

FYI to get this to work you need to remove the "@Injectable" and change the constructor to:
constructor(@Inject(String) private momentFormat: string) {