/Angular2-Single-Page-App-Demo-Code

Demo Angular2 Single page application architecture

Primary LanguageTypeScript

Angular2-Single-Page-App-Demo-Code

Demo Angular2 with typescript single page application architecture

IN THIS PROJECT

  1. Angular2/TypeScript application architecture
  2. A separate folder for APIs can be in any language in a separate folder in my project I used PHP (/custom_php_api) which contains all my php api
  3. Angular2 routers
  4. Angular2 services
  5. 404 page setup

    1. I have designed the settings so that all the .js and .js.map files will be in a sepaarate folder name "dist". All the html templates are in folder "templates" here I am using html but we can use any template system like smarty or twig