using Filter Inside a controller
未關閉
- 主要語言
- JavaScript
- 星號
- 2.9k
- 分支
- 319
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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));
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。