Skip to content

Commit

Permalink
fix (card) : card-header templateUrl
Browse files Browse the repository at this point in the history
Fix the templateUrl path for card-header.
Error occurs when the website is not located in root folder (ex : http://localhost/TestApp/).

Closes angular#220
  • Loading branch information
boulix3 authored and jelbourn committed Mar 22, 2016
1 parent 6aff4cc commit 977759e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/card/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ TODO(kara): update link to demo site when it exists

@Component({
selector: 'md-card-header',
templateUrl: '/components/card/card-header.html',
templateUrl: './components/card/card-header.html',
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
Expand Down

0 comments on commit 977759e

Please sign in to comment.