Configuring Angular FileManager for Custom Use

I am interested in using the excellent JavaScript user interface platform for managing files called Angular FileManager . You can follow the link to view the GitHub page for this project, you can also access the demo version of the framework by clicking here .

The problem I am facing is that there seems to be very little documentation or support to configure this structure for user use. In particular, I would like to modify the config.js file to indicate my own server-side endpoints for the web services that the file manager uses. I tried to adapt the demo, available by reference, but my browser just freezes.

Ideally, I would look for a link to a good tutorial on how to configure Angular FileManager or a user who successfully worked with this structure before and say something.

+6
source share
1 answer

you can expand the configuration by doing something like:

  <script type="text/javascript"> //example to override angular-filemanager default config angular.module('FileManagerApp').config(['fileManagerConfigProvider', function (fileManagerConfig) { var defaults = fileManagerConfig.$get(); fileManagerConfig.set({ appName: 'my own angular-filemanager', sidebar: false, allowedActions: angular.extend(defaults.allowedActions, { remove: false, copy: false }) }); }]); </script> 
+1
source

All Articles