title: How to build multiple applications from a single code base in Angular
body: <p>I'm working on an angular application. We based our application on <a href="https://github.com/Swiip/generator-gulp-angular" rel="noreferrer">https://github.com/Swiip/generator-gulp-angular</a> and everything is working fine. This angular seed project basically scans all your JS files in a directory and concats them into a single JS file when you go into production. </p>
  
  <p>We're building an admin backend for a billing system. The client now also wants a "public backend" for all their clients. A place where clients and log in and send messages basically. The UI is the same for the public backend, we could re-use the same directives everywhere. The only problem is that the public backend is tiny and the admin backend is huge. I don't think serving the full admin app to a random client is good practice. </p>
  
  <p>How do I go about building two applications from the same code base? </p>