The preferred way to do this would be to call the module's `controller` method — it's a clearer way of defining controllers, and it'll allow the controller to participate more fully in dependency injection. Not the _best_ documentation, but a bit of reference [here](https://docs.angularjs.org/api/ng/type/angular.Module).