replace tables with flexbox
move ng-click to where it ought to be
comment and clean up main.js
asdf