too much to explain. working prototype with angularJS. ugly html included