Main page now displays tables. Each button has ng-click that sends table name to a function