Added button and checkbox support to table directive