Text this: Cutting angle method for optimal control problems