Your are mistaken with angular1 syntaxes:
Instead of *ngFor="#media in medias"
,
you have to write *ngFor="#media of medias"
UPDATE – as of beta.17, use the let
syntax instead of #
. This updates to the following:
<div *ngFor="let media of medias">
https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html