You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a new view/state (magazine) I'm having to click the menu item twice to show that state. First click shows a blank screen. Any idea why this is happening? Also, thank you for this theme!!
When I create a new view/state (magazine) I'm having to click the menu item twice to show that state. First click shows a blank screen. Any idea why this is happening? Also, thank you for this theme!!
.config(function($stateProvider,$urlRouterProvider,$locationProvider){
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});
$urlRouterProvider.otherwise('/');
$stateProvider
.state('list',{
url:'/',
controller:'listView',
templateUrl:ajaxInfo.template_directory+'list.html'
})
.state('magazine',{
url:'/:magazine',
controller:'magazineView',
templateUrl:ajaxInfo.template_directory+'magazine.html'
})
.state('single',{
url:'/:slug',
controller:'singleView',
templateUrl:ajaxInfo.template_directory+'single.html'
})
})
The text was updated successfully, but these errors were encountered: