Server side view models for Web Components or AngularJs