Changed ng-model and ng-bind to be set by only one field and ng-repeat field to select the table name instead of yes/no
Improved :empty check to avoid empty inputs and textareas