Use Angular instead of regular js