These are chat archives for AngularClass/NG6-starter

Jan 2016
Andy Brown
Jan 19 2016 18:47
@kinabalu what happens when you call a function from this.myService?
Andrew Lombardi
Jan 19 2016 20:06
@brownish this.myService is “undefined"
Andy Brown
Jan 19 2016 20:06
how are you injecting myService into your angular module?
Sergey Protko
Jan 19 2016 20:22
this is possible the problem
you registered undefined as service)
Andy Brown
Jan 19 2016 20:24
myService might return undefined
so you do import 'myService' from './my.service';
and in my.service.js you have something like:
export default class MyService {}