The heavenly army might mean either:
actual divine beings, because the "small horn" tried to destroy Israel's religion, which God protected with His watchful eye and armies; and/or
the human defenders of Israel who fought for God's holy people and the temple. These events affected both the physical and spiritual realms.