I’m developing AngularJS based gadget and I want to include another xhtml into main view.xhtml
<!DOCTYPE html> <html> <body> <div data-ng-include="'gadgets/GadgetName/views/view1.xhtml'"></div> </body> </html>
and on Chrome Console:
And I’v alredy tried probably every other path combination, this one is context_root/gadget_directory, no matter what I put there - nothing displays.
That’s what documentation says
<div data-ng-include="/<CONTEXT_ROOT_OF_APPLICATION/<GADGETS_DIRECTORY> /views/view1.xhtml"> </div>