[Angular] index for text