Added Angular functions