AngularJS dynamic table directive