mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-27 15:30:34 +03:00
11 lines
235 B
JavaScript
11 lines
235 B
JavaScript
import {Component, View} from 'angular2/angular2';
|
|
|
|
@Component({selector: 'redoc-test'})
|
|
@View({template: '<h1>Hello {{ name }}!</h1>'})
|
|
// Component controller
|
|
export class RedocTest {
|
|
constructor() {
|
|
this.name = 'ReDoc';
|
|
}
|
|
}
|