Skip to content

Instantly share code, notes, and snippets.

@adityatyagi
Last active December 17, 2019 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adityatyagi/4c0aca4b83b01996e9fc5c3fd3a3512c to your computer and use it in GitHub Desktop.
Save adityatyagi/4c0aca4b83b01996e9fc5c3fd3a3512c to your computer and use it in GitHub Desktop.
import { Component, OnInit } from "@angular/core";
// importing service
import { Meta } from "@angular/platform-browser";
@Component({
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