The controller for ngRefRead="{0}" could not be found on ngRef="{1}"
This error occurs when the ngRef directive specifies
a value in ngRefRead
that cannot be resolved to a directive / component controller.
Causes for this error can be:
ngRefRead
value has a typo.Note that ngRefRead
takes the name of the component / directive, not the name of controller, and
also not the combination of directive and 'Controller'. For example, for a directive called 'myDirective',
the correct declaration is <div ng-ref="$ctrl.ref" ng-ref-read="myDirective">
.