AngularJS + Flight PHP API + ng-table