docs(tutorial/step-4): controllers are no longer global functions

The docs did not line up with the codebase / previous steps of the tutorial.

Closes #4988