Closed wiemKh closed 6 years ago
You forgot to put the parameter in your URL.
url: '/customerdetail?selectedCustomer',
Ui-Router supports parameters that are not reflected in the URL. Your parameter is declared in the parameters block, but doesn't appear in the URL.
I'm new to AnguLarJs , i'm using ui router , i have a function that work well with state.go() but i can't figure out why this does'nt work with $location.path()
this is my config
i have this function that worked well with $state.go()
but when i change it with $location doesnt work anymore
what i'm doing wrong? Thanks :)