Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How to pass more than one param into state.go?

$
0
0

@maxdonetsk wrote:

Hi guys, please give me you advice about the best way to pass multiple parameters into $stat.go servise.
I have this code:

$state.go(
               'signup-result',
               {
                'profileTypeTitle': $scope.profiletypeOptions.selectedOption.title,
                 'userEmail': $scope.registerData['AccountRegisterForm[email]']
                 }
           );

But in console I can see this: {profileTypeTitle: "My title"}
I would like to see something like this: {profileTypeTitle: "My title", 'userEmail': $scope.registerData['AccountRegisterForm[email]']}
Is it possible and how?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles