Application can now be served with the angular-cli using ng serve
Express server and Angular app are now divorced, such that the express server no longer serves the Angular app, and the Angular-CLI serves the app. The express server is now only used for the API, and authentication works fine now that XHR withCredentials is now supported in Angular 2.
Angular router@2.0.0-alpha.3 has been integrated with this app and CanActivate activation guards, etc.
Changes from this branch:
ng serve
Express server and Angular app are now divorced, such that the express server no longer serves the Angular app, and the Angular-CLI serves the app. The express server is now only used for the API, and authentication works fine now that XHR
withCredentials
is now supported in Angular 2.router@2.0.0-alpha.3
has been integrated with this app andCanActivate
activation guards, etc.