Ui-sref is not generating the right url in ionic framework
问题 Hi I have two separate templates named "home.html" & "home.singleLink.html" in templates folder. home.html looks like this <ion-list> <ion-item ng-repeat="link in links"> <a class="button button-clear" ui-sref="home({singleLink: link.name})">{{link.name}}</a> </ion-item> <ion-list> And I want to show "home.singleLink.html" template and vanishes the "home.html" template when a user click on the link what is in ui-sref. I am passing a variable after the "home" Here is my app.config looks like