Skip to content

Instantly share code, notes, and snippets.

@bodrovis bodrovis/
Last active Jan 9, 2019

What would you like to do?
import { Component } from '@angular/core';
import { TranslateService } from '@ngx-translate/core'; // 1
selector: 'app-tab1',
templateUrl: '',
styleUrls: ['']
export class Tab1Page {
private language: string = this.translateService.currentLang; // 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.