Hello everyone,

I modified one of the original examples on angular2 website to demonstrate 
the problem - http://plnkr.co/edit/Sz4i2JITJyNznIyZsNRM?p=preview
I am passing a Hero object in the click event of the tiles and trying to 
call the .speak()  method of that object, but then an error is thrown - 
hero.speak is not a function.

Maybe I'm doing something wrong or it's just not possible to do this?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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