angularjs-eclipse icon indicating copy to clipboard operation
angularjs-eclipse copied to clipboard

"Cannot find controller with name ..."

Open phantomjinx opened this issue 10 years ago • 1 comments

I am using eclipse to create plugins for the hawtio framework, see here. As such, each of my controllers uses a separate html template provided in its own file, eg. this controller uses this template. Since the html is split up, the only eclipse compiles errors I keep getting are that the html "cannot find controller with name...". Compiling this project outside using gulp, all the js files are put together, the html cached and everything works as expected. Thus, the error is erroneous. Is there anything I can do to configure eclipse further to get the html templates to detect their controllers please?

phantomjinx avatar Aug 09 '15 18:08 phantomjinx

Link between Template <-> Controller is not managed (see https://github.com/angelozerr/angularjs-eclipse/issues/102), but you can link it at hand https://github.com/angelozerr/angularjs-eclipse/wiki/Angular-Explorer-View#html-template-linkunlink

angelozerr avatar Aug 09 '15 22:08 angelozerr