These are chat archives for angular/angular-2-ionic-2

21st
Apr 2016
cesco
@cescoferraro
Apr 21 2016 14:29
@tleguijt would you mind taking a look at this? anyone?
Rob Wormald
@robwormald
Apr 21 2016 18:24
@cescoferraro that's because of this scoping
this inside a function(){} is the function itself
in ES5, you had to do like var that = this at the top
in es6/TS, use the fat arrow syntax
cesco
@cescoferraro
Apr 21 2016 21:12
thanks @robwormald