Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places

This commit is contained in:
Steve Sanderson
2017-05-18 13:40:58 +01:00
parent a74b7aea6b
commit 85e59efa21
50 changed files with 41 additions and 41 deletions

View File

@@ -14,7 +14,7 @@ export class AlbumDeletePrompt {
public show(album: models.Album) {
this.album = album;
// Consider rewriting this using Angular 2's "Renderer" API so as to avoid direct DOM access
// Consider rewriting this using Angular's "Renderer" API so as to avoid direct DOM access
(<any>window).jQuery(".modal", this._elementRef.nativeElement).modal();
}
}

View File

@@ -2,8 +2,8 @@ export default function (params: any): Promise<{ html: string, globals?: any }>
return new Promise((resolve, reject) => {
// Here, you could put any logic that synchronously or asynchronously prerenders
// your SPA components. For example, see the boot-server.ts files in the Angular2Spa
// and ReactReduxSpa templates for ways to prerender Angular 2 and React components.
// your SPA components. For example, see the boot-server.ts files in the AngularSpa
// and ReactReduxSpa templates for ways to prerender Angular and React components.
//
// If you wanted, you could use a property on the 'params.data' object to specify
// which SPA component or template to render.