i have nested view own controller. how can load nested view without reloading parent controller?
.config(function($stateprovider) { $stateprovider .state("aaa", { views: { 'aaa': { templateurl: "/aaa.html", controller: "aaacontroller" } }, params: { id: null }, }).state("aaa.bbb", { views: { 'bbb': { templateurl: "/bbb.html", controller: "bbbcontroller" } }, params: { id: null } }); //link <a ui-sref="aaa.bbb({id: row.getproperty(\'id\')})"></a>
every time call bbb view aaacontroller gets loaded.
Comments
Post a Comment