I'm using Umbraco 7.5.3
I need to add an angular module to extend backoffice functionality, for example, an autocomplete:
https://github.com/angular-ui/ui-select/
I take it that changing the order of the JS files in the manifest makes no odds. it strikes me that the page needs to know about the modules before the controllers are created... but I'm no authority on AngularJS
I tried to do the exact same thing today, bumped into this discussion while searching. Is there any chance we've got some more news on that? (Although it's a couple of years now).
Adding angular module to backoffice
I'm using Umbraco 7.5.3 I need to add an angular module to extend backoffice functionality, for example, an autocomplete: https://github.com/angular-ui/ui-select/
Doing quite some research, the best approach is described in this post: https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/47905-Including-an-angular-module#comment-209557
But that basically won't work. Is this maybe a problem with Umbraco 7.5.3? Is there any way to accomplish this?
Hi Javier,
can you show us what you have tried that doesn't work? Then we can see if you made a mistake or what the problem can be.
/Michaël
Hi Michaël,
Thanks for your reply. I'm following this steps:
a) Adding the resources to my backend manifest, for example:
b) Try to add the module to the umbraco app, in my angular controller:
c) Try to use the module in my view, for example:
I tried to use other modules also to ckeck that this wasn't a problem with a specific angular module.
Hi Javier,
I've run into the same problem as you have here, did you find a solution to this?
Hi Joe,
Actually I didn't. From time to time I google for more options, but never succeeded.
I take it that changing the order of the JS files in the manifest makes no odds. it strikes me that the page needs to know about the modules before the controllers are created... but I'm no authority on AngularJS
I tried to do the exact same thing today, bumped into this discussion while searching. Is there any chance we've got some more news on that? (Although it's a couple of years now).
is working on a reply...