Iterate through HTML elements in Ionic/AngularJS

This isn’t an Angular specific solution but a general HTML solution. But it applies to those who are stuck :)

   var elements = document.getElementsByClassName("yourClassName");
        for(var i=0; i < elements.length; i++)
        {
           console.log(elements[i].innerHTML);
        }