Set trial "operation mode" in a data attribute to make it visible to the non Angular portion of the code

 Code review : Chezka Arevalo