Meu código está idêntico ao do professor no Capítulo 3 e Aula 3, quando eu uso a diretiva ngFor pela primeira vez, mas aparece o seguinte erro:
Can't bind to 'ngForOf' since it isn't a known property of 'img'. ("]ngFor="let foto of fotos" class="img-responsive center-block" src="{{foto.url}}" alt="{{foto.titulo}"): FotoComponent@0:5 Property binding ngForOf not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section. ("[ERROR ->]<img ngFor="let foto of fotos" class="img-responsive center-block" src="{{foto.url}}" alt="{{foto.ti"): FotoComponent@0:0 ; Zone: ; Task: Promise.then ; Value: Error: Template parse errors: Can't bind to 'ngForOf' since it isn't a known property of 'img'. ("]ngFor="let foto of fotos" class="img-responsive center-block" src="{{foto.url}}" alt="{{foto.titulo}"): FotoComponent@0:5 Property binding ngForOf not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section. ("[ERROR ->]<img ngFor="let foto of fotos" class="img-responsive center-block" src="{{foto.url}}" alt="{{foto.ti"): FotoComponent@0:0
Já perdi a tarde inteira e não sei o que eu faço mais rs.