These are chat archives for angular/material

18th
May 2017
gerome0123
@gerome0123
May 18 2017 07:47
how to download a pdf file using my controller? it this possbile?
how to download a pdf file using my controller? it this possbile?
fabioda
@fabioda
May 18 2017 09:11
@TheHunter : in case you still need to detect browser language, here's the code snippet I use: var language;
if (navigator.language) {
language = navigator.language.substring(0,2).toLowerCase();
}else {
language = this.clientInformation.browserLanguage.substring(0,2).toLowerCase();
}
Sargo Darya
@SargoDarya
May 18 2017 14:17
Hey guys, does anyone know if there are known issues in Firefox with md-tab-nav-bar? I can't tab into the component despite it working in Chrome.
coffeetune
@coffeetune_twitter
May 18 2017 23:13
i just installed angular-material through npm. having issue importing it onto a page. anyone have sample statement for the import? its not finding this import {MaterialModule} from 'angular-material';