angularjs - ui-view wont render nested content -
i've linked plnkr here http://plnkr.co/edit/kuyw1shikwz9wzvmoo5k?p=preview
on addproducts tab, want load nested states in ui-view.
.state("productedit", { abstract: true, url: "/products/edit/:productid", templateurl: "producteditview.html", controller: "producteditctrl vm", resolve: { productresource: "productresource", product: function(productresource, $stateparams){ var productid = $stateparams.productid; return productresource.get({productid: productid}).$promise; } } }) .state("productedit.info",{ url:"/info", templateurl: "producteditinfoview.html" }) .state("productedit.price",{ url:"/price", templateurl: "producteditpriceview.html" })
producteditinfoview.html has form controls, expect load in producteditview page, not visible
what missing here?
things case sensitive. change templateurl
templateurl
, should go.
Comments
Post a Comment