rebuilt board using ng-repeat