16 lines
327 B
TypeScript
Raw Normal View History

2016-05-18 15:53:13 +02:00
import { Component } from '@angular/core';
import { HEROES_URL, VILLAINS_URL } from './shared';
2016-05-18 15:53:13 +02:00
@Component({
selector: 'sg-app',
template: `
<div>Heroes url: {{heroesUrl}}</div>
<div>Villains url: {{villainsUrl}}</div>
`,
})
export class AppComponent {
heroesUrl = HEROES_URL;
villainsUrl = VILLAINS_URL;
2016-05-18 15:53:13 +02:00
}