Skip to content

Instantly share code, notes, and snippets.

@bodrovis bodrovis/tab1.page.ts
Last active Jan 9, 2019

Embed
What would you like to do?
import { Component } from '@angular/core';
import { TranslateService } from '@ngx-translate/core'; // 1
@Component({
selector: 'app-tab1',
templateUrl: 'tab1.page.html',
styleUrls: ['tab1.page.scss']
})
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.