The Languages Editor The application now has a basic title. Next you will create a new component to display language information and place that component in the application shell. Create the languages component Using the Angular CLI, generate a new component named languages . ng generate component languages The CLI creates a new folder, src/app/languages/ and generates the three files of the LanguagesComponent . The LangaugesComponent class file is as follows: app/languages/languages.component.ts (initial version) import { Component , OnInit } from '@angular/core' ; @ Component ({ selector : 'app-languages' , templateUrl : './ languages .component.html' , styleUrls : [ './ languages .component.css' ] }) export class LanguagesComponent implements OnInit { constructor () { } ngOnInit () { } } You always import the Component symbol from the Angular core library and annotate
Think Next Generation Technologies