mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2026-01-05 16:34:49 +00:00
Update to Angular 2 Beta 1. New bug: no longer waits for server-side HTTP requests to complete - waiting for info to resolve this.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div *ng-if="albumData">
|
||||
<div *ngIf="albumData">
|
||||
<h2>{{ albumData.Title }}</h2>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import * as ng from 'angular2/angular2';
|
||||
import * as ng from 'angular2/core';
|
||||
import * as router from 'angular2/router';
|
||||
import { NgIf } from 'angular2/common';
|
||||
import { Http } from 'angular2/http';
|
||||
import * as models from '../../../models/models';
|
||||
|
||||
@@ -8,7 +9,7 @@ import * as models from '../../../models/models';
|
||||
})
|
||||
@ng.View({
|
||||
templateUrl: './ng-app/components/public/album-details/album-details.html',
|
||||
directives: [ng.NgIf]
|
||||
directives: [NgIf]
|
||||
})
|
||||
export class AlbumDetails {
|
||||
public albumData: models.Album;
|
||||
|
||||
Reference in New Issue
Block a user