Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { Component, OnInit } from "@angular/core";
// importing service
import { Meta } from "@angular/platform-browser";
selector: "app-landing",
templateUrl: "./landing.component.html",
styleUrls: ["./landing.component.scss"]
export class LandingComponent implements OnInit {
// injecting service
constructor(private _meta: Meta) {}
ngOnInit() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment