changed mainctrl into boardctrl, and fixed bug that was executing the angular app twice. it was class=ng-view