Use Angular wrapper service $document | CAST Appmarq