I tried to implement Angular 2 in Liferay 7. While the basic setup works, i'm unable to consume any json service. I wonder whether it is because of numerous 404s expecting node_modules to be under /web/guest. Please see example.
http://localhost:8080/web/guest/node_modules/zone.js/dist/zone.js 404
Also http://localhost:8080/o/rc-choice-web/js/system.config.js 404 (Not Found). This is actually under /meta-inf/resources/js.
I've copied node_modules under portlet root. I had issues compiling otherwise.
Also how do we consume liferay json service? How can we pass credentials with httpget?
Could any one please help me out?