These are chat archives for angular/material

18th
Mar 2016
Debdeep Chaudhuri
@cdebdeep
Mar 18 2016 04:53
HI
Talx
@tuncayxx
Mar 18 2016 11:01
Hi, who owns the angular/material ?
Gladson Robinson
@gladsonrobinson
Mar 18 2016 11:05
HI. I have a slug like eg. var slug = 'test-test/7%2F8-test', am using $location.url(slug)
but this is automatically got decoded while getting into the browser.
Am expecting my browser url to be same as what I have given with out any modification.
any help please.
??
bouboumsk
@bouboumsk
Mar 18 2016 13:56
hello everybody
i need some help
how can i use an input value in my class?
BiloLwabona
@BiloLwabona
Mar 18 2016 13:57
ng-model="variableInClass"
bouboumsk
@bouboumsk
Mar 18 2016 13:59
i show you how i do

export class TestComponent {
private test_test;

@Input() test_input: string;

}

so i need to use it
not in the template
but for exemple in my function or constructor
BiloLwabona
@BiloLwabona
Mar 18 2016 14:02
aare you using TypeScript?
and Angular2 ??
bouboumsk
@bouboumsk
Mar 18 2016 14:04
eys
yes
bouboumsk
@bouboumsk
Mar 18 2016 15:18
hellooooo
bouboumsk
@bouboumsk
Mar 18 2016 15:36
anybody there
Ruben Fernando Pinto Cordeiro
@RubenCordeiro
Mar 18 2016 15:37
Hello
bouboumsk
@bouboumsk
Mar 18 2016 15:37
hi
so can you help me :p
Ruben Fernando Pinto Cordeiro
@RubenCordeiro
Mar 18 2016 16:10
Sorry mate, I have no experience with angular2
bouboumsk
@bouboumsk
Mar 18 2016 16:10
ok thanks anyway :)
Ruben Fernando Pinto Cordeiro
@RubenCordeiro
Mar 18 2016 16:11
have you tried to search in stackoverflow? Maybe post a new question if you don't find an existing one.
bouboumsk
@bouboumsk
Mar 18 2016 16:11
ok i will try :)
Erwan DATIN
@MacKentoch
Mar 18 2016 16:22
@bouboumsk @Input() test_input: string; test_input is a property of your object so it is attached to this inside your class : this.test_input = 'it works'.
Sorry for typos or style, not that much easy on mobile.
bouboumsk
@bouboumsk
Mar 18 2016 16:24
no its not a problem but you mean that in my class constructor i can use it like that?
Erwan DATIN
@MacKentoch
Mar 18 2016 16:25
Yes