Untitled

album-ts
mail@pastecode.io avatar
unknown
json
2 years ago
368 B
5
Indexable
Never
import { Component, OnInit } from '@angular/core';
import albumData from '../data/SearchResultsAlbum.json';

@Component({
  selector: 'app-album',
  templateUrl: './album.component.html',
  styleUrls: ['./album.component.css']
})
export class AlbumComponent implements OnInit {

  album:any;
  constructor() { }

  ngOnInit(): void {
    this.album= albumData;
  }

}