Fix the example for controller

Adding a small fix to the Doc for controller.