How to filter, with Ionic and AngularJs, repeated names in my ng-repeat
? I've already used ui.filters
and unique
only works when there are no routing, ie on websites in mobile applications it does not work.
In my controller I tried this:
angular.module('myApp', ['ui.filters'])
.controller("papaRoca", function($scope, Data, $location) { });
And in my view I put:
<div ng-repeat="Lista in Listas | unique:'nome'">...</div>
Can anyone help me?