ui-router and encoded url

38 views
Skip to first unread message

Elad Rosenberg

unread,
Oct 29, 2015, 12:36:22 PM10/29/15
to AngularJS
hi,
this is my $state.go...

$state.go('candidatesSaveSearch', { "saveSearchId": savedSearchId,"ref":"gender=2"});

the problem is that "=" become %3D
Is there anyway to prevent from encoding?

thanks in advance,
Elad



Arpit

unread,
Oct 30, 2015, 3:43:43 PM10/30/15
to AngularJS
+1 
I need this too.

Elad Rosenberg

unread,
Nov 2, 2015, 2:39:42 AM11/2/15
to ang...@googlegroups.com
i ended up with the regular location.href

location.href = '#/candidates.html/' + savedSearchId + '?ref=&' + filterStr;

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/gosDPVKbw4s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages