Fixing a example and removing useless spaces.

* Removing trailing spaces from lines.
* Fixing an error on the example of the controller section.