The controller with the name '{0}' is not registered.
This error occurs when the $controller()
service is called
with a string that does not match any of the registered controllers. The controller service may have
been invoked directly, or indirectly, for example through the ngController
directive,
or inside a component / directive /
route definition (when using a string for the controller property).
Third-party modules can also instantiate controllers with the $controller()
service.
Causes for this error can be:
ngController
directive attribute, in a component
definition's controller property, or in the call to $controller()
.Module.controller
nor $controllerProvider.register()
.Please consult the $controller service api docs to learn more.