joni2back / angular-filemanager

JavaScript File Manager Material Design Folder Explorer Navigator Browser Manager in AngularJS with CSS3 Responsive (with FTP in PHP / Java / Node)
https://joni2back.github.io/angular-filemanager/
MIT License
1.76k stars 577 forks source link

How to include in existing MVC-C#-Angularjs-1.5.8-AngularMaterial-v1.1.1 based Project #258

Closed Jeelani786 closed 7 years ago

Jeelani786 commented 7 years ago

Hi, I am trying to include your project inside my project which is built using MVC 5(C#)+Angularjs-1.5.8+AngularMaterial -v1.1.1. How do I include if you have any guidelines for that then please provide. Right now I have included as below and getting this error([$injector:unpr] Unknown provider: fileManagerConfigProvider). and see nothing on the screen. And currently I am not using any bridge, simply wants to use a shared network folder because the app is used inside the environment. `@@

` I have excluded yours angularjs.min.js bcoz I already have 1.5.8 version, just let me know the proper guidelines. Thanks.
durasj commented 7 years ago

Hi @Jeelani786, I think you are missing the config. as can be seen in the README.

Btw you'll need to use some "bridge". Because you can't simply access the FS using the plain web browser. The bridge connects your filesystem with the web interface.

You can write one yourself or use one of the provided bridges.

Jeelani786 commented 7 years ago

Hi @durasj, I have exactly no idea about how to write bridge, can you explain how to do that in ASP.Net MVC 5 C# and what does that bridge mean exactly?. Thanks.

durasj commented 7 years ago

Hi @Jeelani786,

you need to create HTTP server in ASP.Net (not sure how to do it, I've never wrote a single line in it) following the API docs.

The bridge connects your filesystem with the web interface via some http endpoints.