Small Demo of how to use angular Js with ES6
- Node Js https://nodejs.org/
- Webpack http://webpack.github.io/
- Clone the repo on your machine
- Go into the root folder
- Do an
npm install
(which will install all the dependencies) - Then hit
npm run webpack-dev-server
and wait for the server to run - Open your browser pointing at http://localhost:9002/app/dist/index.html#/home
- The concept here is to get all the files in single build i.e in app/dist/js/build-js.js
- From root folder run
npm run webpack-dev
This will unify all code into common build [ This will uglify all the javascript and html code into a single file build-js ] - Now you can run the index.html independently without the src reference