Added table-name attribute to directive

Now supports dynamic table assignment at the directive level via the
table-name attribute