Following the tutorial at link: http://blog.nanthrax.net/?p=827 with simple CRUD added.
This project was generated with Angular CLI version 1.7.3. Then a pom.xml is added to turn it into a Web Bundle for Karaf.
- Run
mvn clean install
to get Angular CLI to generate deployable source code and to have Maven to package it into Karaf-compatible bundle. - From Karaf console, run
install mvn:vn.quantda/test-frontend/1.0-SNAPSHOT
to deploy the web bundle to Karaf. - Open browser, browse to http://localhost:8181/angular-test/ to enjoy the web app.