been scratching my head like crazy over this.
Basically all I want is in my index.html something like:
<app hero="iron man"></app>
in my main index.html file, then be able to read the value of hero in my component class.
Been at this for a week, to no avail. Here's my non-functioning plunkr:
Thanks for your time and response! Unfortunately, in your scenario you're still not retrieving properties of the object, you're just putting a second object inside the first and retrieving those properties.
Good news though for anyone else trying to figure it out, it's confirmed as a bug!
https://github.com/angular/angular/issues/1858#event-305799002
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments