Skip to content

Instantly share code, notes, and snippets.

@bodrovis
Created May 16, 2019 15:17
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 bodrovis/b95487fe2ba3ace9de5880479fb157f0 to your computer and use it in GitHub Desktop.
Save bodrovis/b95487fe2ba3ace9de5880479fb157f0 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
newMessages = 5;
languageList = [ // <--- add this
{ code: 'en', label: 'English' },
{ code: 'ru', label: 'Русский' }
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment