Added $stateParams dep