move window.__config to an Angular constant; refactor AngularViewArray -> ViewArray + ViewArrayFactory

This commit is contained in:
alecmerdler 2017-01-21 00:14:37 -08:00
parent 615e233671
commit eea2a18c3f
16 changed files with 316 additions and 231 deletions

View file

@ -0,0 +1,10 @@
/**
* Configuration data set.
*/
export const CONFIG: any = (<any>window).__config;
/**
* REST API route information.
*/
export const ENDPOINTS: any = (<any>window).__endpoints;