Rewritten prototype using AngularJS and Ink (a css/js framework, a bit like Bootstrap)