// Shims import 'reflect-metadata'; import 'zone.js'; import { YagaModule } from '../../lib/index'; // @yaga/leflet-ng2 import { Component, NgModule, PlatformRef } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { ExamplePropertiesModule } from '../property.component'; // this is just for the header const platform: PlatformRef = platformBrowserDynamic(); /* tslint:disable:max-line-length */ const template: string = `

Hello World

This is {{ name }}

Do you wan't to edit me?:
Latitude:
Longitude:
This is:

`; /* tslint:enable */ @Component({ selector: 'app', template, }) export class AppComponent { public editable: boolean = false; public name: string = 'Passau'; public lat: number = 48.5768558; public lng: number = 13.268283; } /* tslint:disable:max-classes-per-file */ @NgModule({ bootstrap: [ AppComponent ], declarations: [ AppComponent ], imports: [ BrowserModule, FormsModule, YagaModule, /* just for the website -> */ ExamplePropertiesModule ], }) export class AppModule { } document.addEventListener('DOMContentLoaded', () => { platform.bootstrapModule(AppModule); });