How can I get Smart-Table to work with json objects from a restful api

时间:2016-07-11 21:07:00

标签: angularjs json smart-table

It appears that Smart-table by Lorenzo Fox works only with a straight forward data array. Is it possible for it to work with data objects which is produced by the following code:

    var getList = function () {
        return $http.get(webapi + "vw_C1Verify")
                    .then(function (response) {
                        return response.data;
                    });
    };

Thanks Paul

0 个答案:

没有答案