@florianM wrote:
Hello everyone,
I'm trying to develop a mobile app with ionic and ngCordova but I have a big problem with iPhone. I use ui-router to get my params in url by example /menu/product/:id and this is a part of my controller which get the param :
.controller('orderCtrl', function($scope, $stateParams) { console.log($stateParams.id);
Everything work on desktop, with Chrome, Safari or Firefox. However, when I build my App for iOs (I didn't try for Android) nothing work, I cannot get the param, nothing appears in the console. Do you have an idea?? Even if I put the $stateParams.id in a scope and display it with {{id}} I can see in browser but not on my iPhone
Thanks a lot
Posts: 12
Participants: 2