So, I've got some folder archives that contains unknown number of files, I know that:
So folder's content looks like:
<a href="archives/AB1234567890.7z" download="{{fileName}}">Download</a>
And on click it's gonna start downloading archive with name AB1234567890.7z. It's okay, but obviously I can't write links like that, it must be done with ng-repeat. So the question is - how to display 2 lists of links, where first list would be list with links which starts with AB and second - which starts with CD, respectively. Any help will be greatly appreciated :)
$scope.firstList = files.filter((file) => file.substring(0, 2) === "AB"and thenng-repeat=‘file in firstList...