mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 19:17:30 +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 @@
|
||||
import * as ng from 'angular2/angular2';
|
||||
import * as ng from 'angular2/core';
|
||||
import * as router from 'angular2/router';
|
||||
import { AlbumsList } from '../albums-list/albums-list';
|
||||
import { AlbumDetails } from '../album-details/album-details';
|
||||
@@ -8,9 +8,9 @@ import { AlbumEdit } from '../album-edit/album-edit';
|
||||
selector: 'admin-home'
|
||||
})
|
||||
@router.RouteConfig([
|
||||
{ path: 'albums', as: 'Albums', component: AlbumsList },
|
||||
{ path: 'album/details/:albumId', as: 'AlbumDetails', component: AlbumDetails },
|
||||
{ path: 'album/edit/:albumId', as: 'AlbumEdit', component: AlbumEdit }
|
||||
{ path: 'albums', name: 'Albums', component: AlbumsList },
|
||||
{ path: 'album/details/:albumId', name: 'AlbumDetails', component: AlbumDetails },
|
||||
{ path: 'album/edit/:albumId', name: 'AlbumEdit', component: AlbumEdit }
|
||||
])
|
||||
@ng.View({
|
||||
templateUrl: './ng-app/components/admin/admin-home/admin-home.html',
|
||||
|
||||
Reference in New Issue
Block a user