过滤日期广告系列

时间:2016-07-27 17:00:16

标签: angularjs date

如何过滤当前日期的广告系列。我是从Angular开始的。

// Controller
app.controller('customersCtrl', function($scope, $http) {
    $http.get('list.json').then(function(response) {
        $scope.campanha = response.data.campaigns;
    });
});

在我看来

<article class="campanha" ng-repeat="campaign in campanha | searchFor:searchString">
    <a href="#single/{{campaign.id}}" title="{{ campaign.name }}">
        <img class="img-responsive" src="{{ campaign.imageAddressXhdpi }}" alt="{{ campaign.name }}">
    </a>
</article>

链接休息:http://104.236.89.155:8080/guru/rest/campaign/list

0 个答案:

没有答案