Sample application showing how to use AngularJS with ES6. Built with awesome JSPM
- Install NodeJS
npm install -g live-server
npm install -g jspm
jspm init
and just take default optionsjspm install [email protected] [email protected] [email protected]
jspm install github:marcorinck/angular-growl -o "{ main: 'build/angular-growl.min.js', dependencies: { 'angular': '1.3.8'}ย }"
jspm install bootstrap [email protected]
For running in development mode:
live-server
- go to localhost:8080
For running in production mode:
- make a bundle with
jspm bundle-sfx lib/app
- edit index.html - lines 8-11 and 49-61
- Due to following issue it is not possible to dynamically import css files with
bundle-sfx
option. Workaround is to include css files in index.html directly