templateUrl: 'app/angular/app/app.component.html',
styleUrls: [ 'app/angular/app/app.component.css' ],
directives: [ ROUTER_DIRECTIVES ],
- providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS,
- ElementRef, VideosService, FriendsService,
- AuthService
- ]
+ providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, VideosService, FriendsService, AuthService ]
})
export class AppComponent {
<div *ngIf="videos.length === 0">There is no video.</div>
-<div *ngFor="#video of videos" class="video">
+<div *ngFor="let video of videos" class="video">
<div>
<a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a>
<span class="video_pod_url">{{ video.podUrl }}</span>
},
"license": "ISC",
"dependencies": {
- "angular-pipes": "^1.4.1",
- "angular2": "2.0.0-beta.14",
+ "angular-pipes": "^1.5.0",
+ "angular2": "2.0.0-beta.17",
"blueimp-file-upload": "^9.12.1",
"bootstrap-sass": "^3.3.6",
"es6-promise": "^3.0.2",
"jquery": "^2.2.3",
"jquery.ui.widget": "^1.10.3",
"reflect-metadata": "0.1.2",
- "rxjs": "5.0.0-beta.2",
+ "rxjs": "5.0.0-beta.6",
"systemjs": "0.19.26",
"webtorrent": "^0.89.0",
- "zone.js": "0.6.10"
+ "zone.js": "0.6.12"
},
"devDependencies": {
"codelyzer": "0.0.12",
"tslint": "^3.7.4",
"typescript": "^1.8.10",
- "typings": "^0.7.12"
+ "typings": "^0.8.1"
}
}