Fix the params type in angular-ui-router