Refactorized tgUsPoints directive