1
Hello! I am doing a project for the college in Ionic using Angularjs and in it I have an arraylist with several words, using the orderby I left them in alphabetical order, but I have a problem, I need to make every time the initial letter changes to be created a list-Divider with this letter, for example : "list-Divider A, Blackberry, Love, list-Divider B, Potato, Bobão, list-Divider C, Home, Puppy..."
I’ve been able to do this by turning a list into several lists and putting Dad between them, but I’ve been told that this is not a good practice.