@sebastián-cisneros In static:api.routes, you'll want to call controllerHelpers.setupAPIRoute to mount the route to the appropriate /api/v3/plugins mount point.
You can see an example of how we do it in the quickstart plugin
I would love to see a fix for this and maybe a barebone angular plugin to see how it all ties together?
Sorry, I forgot to get back to this. Can you publish your nodebb-plugin-angtest
and I'll try running it first on 0.6x and then 0.7x and see if I can isolate the problem
hello,
here you will find the code https://github.com/ricoud/nodebb-plugin-angtest
Thanks in advance
@psychobunny did you have time to test the plugin?
Thanks
any luck? @ricoud @psychobunny
Same with 0.7.1
Additional info when calling directly the page (typing the address) everything works. It seems that angular isn't loaded when calling the page through menu.
Same behaviour with 0.8.0
Ok I tried to use filter:scripts.get hook to load angularjs same thing
Then I include angularjs inside the scripts object of the js.js file find in src/meta directory, same behaviour.
Can someone help to resolve this issue as I really want to include my site as a nodebb plugin.
Thanks in advance
Yikes. I always forget stuff I promise on community forum haha. Your best bet always is to create an issue on our github tracker.
"Angular not working with nodebb" or something. I'm sorry for the delay
https://github.com/NodeBB/NodeBB/issues
Don't forget to add as much information as you can