Simple rep tracker written in AngularJS