Hello, To fix problems with preprocessors mangling variable names, the following works just fine: ``` js .state('stateName', { url: "...", templateUrl: '...', controller: ['$stateParams', controllerFunction], controllerAs: 'vm' }) ``` I think it should be documented, I'm far from being comfortable enough to send a pull request on this.