using Filter Inside a controller
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 2.9k
- Fork
- 319
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi,
How can we use this filters inside a angularjs controller. It works fine when I use it inside html with ng repeat
"data-ng-repeat="orders in orderList | unique: 'submission_Date'"
but when I try to use it inside my controller then it is not working properly
console.log($filter('unique')($scope.orderList ,$scope.orderList .submission_Date));
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.