I am looking to fill an array with <a> elements on an AngularJS site. Here is my array code:
$ProgramGuides = $ProgramGuidesPage.ParsedHtml.getElementById("content") | foreach {
$_.getElementsByTagName("ul").item(0) | foreach {
$_.getElementsByTagName("li") | foreach {
$_.getElementsByTagName("a")
}
}
}
$ProgramGuides only retus 1 <a> element meanwhile there are 10+ <a> elements on the page. I can only imagine this has something to do with Angular and ng-repeat on the elements. Any ideas how I can get all the <a> elements into my array?

