Hi TiDiDoDa,

Can you reproduce your issue in a stackblitz or plunker? that way it would 
be so much easier to help you.
The problem lies somewhere in the parts of the code you are not showing 
here. my top 2 would be:

   1. service that is lazily loaded is used outside the scope of its 
   module. allways put services in root, or use .forRoot
   2. use of a method that is detached of its instance somehow. Try doing 
   something like this in your event class:
   class event{
      constructor() {
         this.getImage = this.getImage.bind(this)
      }
   }
   as that will hard bind the method to the class

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to