I have two modules A and B. There is controller in moduleA called moduleAController
How can I invoke the controller in moduleA
in my html?
Below is the code snippet but its not working. I just wants to use my controller in my html directly.
var moduleA =angular.module("ModuleA");
var moduleB =angular.module("ModuleB",["moduleA"]);
var myapp=angular.module("MyApp",["moduleB"])
<html ng-app="myapp">
<body ng-controler="moduleAController">
</body>
</html>