before rebase
adds angular controller
adds voting functionality