When having two states defined such as these:
var rendermycategory = {
name: 'rendermycategory',
url: '/:lang/:category',
views: {
'': {
templateUrl: 'index'
},
'subtemplate': {
templateUrl: 'partials/mainCategory',
controller: UiRouterPageCtrl
}
}
};
var listPages = {
name: 'listPages',
url: '/forms/:modelname',
views: {
'': {
templateUrl: 'index'
},
'subtemplate': {
templateUrl: 'partials/listPages',
controller: GetPageListCtrl
}
}
};
I would think, that when entering URLs manually:
but
Is this a "bug"? Or intentional for some reason? Or did I get some concept wrong? (I´m really not sure)
With the "old fashioned" $route provider the differentiation between both of these works as expected.