1

I'm trying to send paras to my route using the $state.go function. Here's my code:

var promise = $state.go('.list', {listing: [1,2,3], marker: false});  

The route works, but $stateParams and $state.params are still empty... Here's the plunkr:http://plnkr.co/edit/3bpcnR?p=preview

How can I get the params sent via the "go" function?

yccteam
  • 2,008
  • 3
  • 22
  • 44

1 Answers1

0

First of all it might be wise if you post your state definition here as well using $stateProvider because there is a big chance that that's where the problem is coming from.

Dan Moldovan
  • 3,556
  • 2
  • 12
  • 24