Private/Angular/Component/Home/New-NgHomeComponentTsToString.ps1

Function New-NgHomeComponentTsToString() {


<##########################################################################################>
return @"

import 'rxjs/add/operator/switchMap';
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router, Params } from '@angular/router';
import { StringService } from '../service/string.service';

@Component({
    selector: 'home',
    templateUrl: './home.component.html',
    styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
    private title: string = "";

    constructor(
        private route: ActivatedRoute,
        private router: Router,
        private stringService: StringService
    ) {
    }

    ngOnInit(): void {
        // ??
    }

}

"@

<##########################################################################################>
}