Fixes controller name bug when using $routeProvider

The controller name was previously not declared as a string and users have reported a "[controller] is not defined from prototype" error. This corrects the documentation into a working example.