hello everyone i’m using the ionic start myApp sidemenu.
I’ve add a new page and include it in the state provider as follow `config(function($stateProvider, $urlRouterProvider) {
$stateProvider
.state('app', {
url: "/app",
abstract: true,
templateUrl: "templates/menu.html",
controller: 'AppCtrl'
})
.state('app.search', {
url: "/search",
views: {
'menuContent' :{
templateUrl: "templates/search.html"
}
}
})
.state('app.browse', {
url: "/browse",
views: {
'menuContent' :{
templateUrl: "templates/browse.html"
}
}
})
.state('app.home', {
url: "/home",
views: {
'menuContent' :{
templateUrl: "templates/home.html",
controller: 'homeCtrl'
}
}
})
.state('app.main', {
url: "/main",
views: {
'menuContent' :{
templateUrl: "templates/main.html",
}
}
})
.state('app.single', {
url: "/playlists/:playlistId",
views: {
'menuContent' :{
templateUrl: "templates/playlist.html",
controller: 'PlaylistCtrl'
}
}
});`
but when i want to include a redirect link to any page from my main.html template it does not work .
any suggestion ?
I’m sure i’ve a mistake but where ? please help