added a directive to actually render the board