Created
May 16, 2019 15:17
-
-
Save bodrovis/b95487fe2ba3ace9de5880479fb157f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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