In this screencast I created Java EE 7 application with installed CORS filter and exposed an array of Dukes as JSON.
Finally, I created Angular 2 app and used HttpModule to access the backend service. The output was rendered as HTML list.
Interesting: I used Dependency Injection in Angular 2, but there was no need for DI on the server :-).
Interested in Angular 2, ReactJS or Java EE? Checkout: workshops.adam-bien.com.
NEW MUC Airport Workshop: Migrating Java Client (Swing / Java FX) to Web Standards