Skip to content Skip to sidebar Skip to footer

"Can't Bind To 'ngFor' Since It Isn't A Known Native Property"

Can't tell what I'm doing wrong here. Tried explicity defining the ngFor directive through CORE_DIRECTIVES, and using let. Is there something I missed? import { Component, Input ,

Solution 1:

remove

 directives: [FORM_DIRECTIVES, CORE_DIRECTIVES]

use # instead of let in Angular2 beta that you're obviously using.


Post a Comment for ""Can't Bind To 'ngFor' Since It Isn't A Known Native Property""