I am trying to pass parameters in my $state.go
Normally elsewhere in the app it is written listing out each parameter as:
$state.go('home', {
stateSet: true,
code: 'TEST',
id: 1
});
What I currently need to do and does not seem to be working is:
params = {stateSet: true, code: 'TEST', id: 1};
$state.go('home', params);