make mine-sweeper to be an angular template and use directive to that template