Important It's not a recommended way! If you have to do this inside a controller it can be a sign of a bad design. Just showing that this is possible.