Using an array, I am trying to filter and show the unique
information in the list. For that I use the angular
inbuild filter
method.
But I am getting error.
Here is my try (I am filtering by SubProjectName
)
<ul>
<li ng-repeat="project in projectNames | unique: 'SubProjectName' ">
{project.SubProjectName}}
</li>
</ul>
unique
method. – Oilcloth