Initial commit

This commit is contained in:
Caesar2011
2017-05-17 00:22:45 +02:00
commit 0a36f3830b
19 changed files with 474 additions and 0 deletions

16
src/app/app.component.ts Normal file
View File

@@ -0,0 +1,16 @@
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `<form #form="ngForm">
<json-input [(ngModel)]="result" name="res"></json-input>
</form>
<p>form is valid: {{ form.valid ? 'true' : 'false' }}</p>
<p>Value:</p>
<pre>{{ result | json }}</pre>`,
})
export class AppComponent {
public result = 10;
}