Ui-router controller not named
I have this controller to use some partial parts in my page with a form, but when I click to submit the form, no action is taken from my controller!
ui-router config file:
$stateProvider
.state('page-main', {
url: "/page-main",
controller: "PageCtrl",
views: {
"": {templateUrl: "partials/page-main.html"},
"header":{templateUrl: "partials/header.html"},
}
});
If I have a controller installed directly on my view page the module error is displayed in the console. Since nothing appears for me!
+3
source to share
No one has answered this question yet
Check out similar questions: