add "angular JS in patterns"