I have a few fragments with JS files as their controllers that I would like to reuse in all my apps.
An example of one of these would be our custom "upload attachment" fragment along with it's JS file as controller for the events. I would then like to include this fragment and JS in all my apps that requires documents to be uploaded.
What would be the best way to make these files global and how would I reference/include them in my projects/apps?
I have gone through many answers already available but i am not able to achieve the same.
If anyone has actually done it , please help me.