angular-dynamic-layout
angular-dynamic-layout copied to clipboard
Filters and Rankers - needed?
Just trying to understand some of the code to fix a few of the issues and have figured I don't think this project should cover custom filters and rankers.
When I think of dynamic layout, I'm passing it a list of items of which I want to be arranged, I can do the filtering and ranking myself.
Rankers and filters let you manipulate $scope
objects that are then picked up by the directive that updates the layout as in the demo
Custom rankers and filters is a powerful tool that let you filter and sort based on any combination of properties rather than individual ones. Also it lets you define your own comparators that are not included in the library.
Let me know if that answers the issue.
Created #23 to try and simplify this and remove need for custom rankers/filters by using filter/orderBy in angular on an ng-repeat