How to rotate UVs as in example

Solved by using angle between vectors with component basis vector X and constant 3 vector 0,1,0. Then piping that in rotator.