Here is the updated plunk with this update
<h4>resource index list</h4>
<ul>
<li><a ui-sref='.edit({id: 1})'>Go to edit</a>
<div ui-view=""></div>
</ul>
, , , :
.state('home.resource', {
url: '/resource',
templateUrl: 'resource.list.html',
controller: function($scope){}
})
.state('home.resource.edit', {
url: '/edit/:id',
templateUrl: 'resource.edit.html',
controller: function($scope){}
});
. ui-view, . . , plunker :
.state('home.resource.edit', {
url: '/edit/:id',
views : {
'@home' : {
templateUrl: 'resource.edit.html',
controller: function($scope){}
}
}
});
:
, viewname@statename, viewname - , , - , . contact.item. .