Fix to query and loop over np-app elements
non-angular loop