Skip to content

Commit

Permalink
Added moduleId (#64)
Browse files Browse the repository at this point in the history
Added ModuleId enables to use relative paths in metadata.
https://angular.io/docs/ts/latest/cookbook/component-relative-paths.html
  • Loading branch information
matjanos authored and jkuri committed Oct 4, 2016
1 parent 530fe9c commit 329d552
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ng2-datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const CALENDAR_VALUE_ACCESSOR: any = {
};

@Component({
moduleId: module.id,
selector: 'datepicker',
templateUrl: './ng2-datepicker.component.html',
styleUrls: ['./ng2-datepicker.css'],
Expand Down

0 comments on commit 329d552

Please sign in to comment.