How to execute expression inside variable?

image

That can be done with $evaluateExpression as documented here: