The following works: ``` $stateProvider .state('dashboard', { url: '/dashboard', onEnter: (productivityData) => {} }) ``` but this doesn't ``` $stateProvider .state('dashboard', { url: '/dashboard', onEnter(productivityData) {} }) ```