using Filter Inside a controller
Open
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
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));
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.