Ng-href not switching to the view[SOLVED]


#1

Hello,
I don’t know why ng-href isn’t working.
What i want to do is go from a modal to a view, passing the parameters {{user}} and {{email}}

here’s the state

//gestion
.state('gestion',
{
url:'/compte/gestion/:user/:email',
templateUrl:'templates/gestion.html',
controller:'gestionCtrl'  
})

and the line from the view

<ion-item ng-href="#/compte/gestion/:user/:email" style="width:340px;margin-top:10px" >
Gerer mon compte
</ion-item> 

the user and email values are retrieved from an external json file

thank you for the help


#2

trying to open a view from a modal.in ionic serve i didn’t change the size of the modal.so the view was opening but i couldn’t see it open.the modal view was covering the whole thing.had closemodal already implemented but totally forgot…Cheers