angular-filemanager icon indicating copy to clipboard operation
angular-filemanager copied to clipboard

How to embed angular-filemanager into an existing page

Open inlakin opened this issue 8 years ago • 1 comments

Hi,

Thanks for the plugin, it is great, and exactly what I was looking for :)

However, I don't want to have a fullpage with it but rather embed it into an existing webpage of mine. The idea is to allow visitors to check, download and upload file to the server (as you might imagine).

I started an simple project without bower nor anything. Just plain html, css and angular (no seed). Therefore I initiated into my project a bower project with bower init, filled in the informations needed and then load your plugin with the given command line. Afterwards, I included the necessary inclusion in my headers (without bootstrap and angular already charged) and changed the following lines

<link rel="stylesheet" href="dist/angular-filemanager.min.css">
<script src="dist/angular-filemanager.min.js"></script>

to

<link rel="stylesheet" href="bower_components/angular-filemanager/dist/angular-filemanager.min.css">
<script src="bower_components/angular-filemanager/dist/angular-filemanager.min.js"></script>

because I couldn't see any dist at the root of my folder.

However, I can't manage to have an output ..

Idea ?

EDIT: As I didn't do much before merging with your plugin, I build my page on top of this project after cloning it .. (easy fix for now, but I am still interested in the solution)

inlakin avatar Jan 21 '17 23:01 inlakin

Hi @inlakin ,

what is it please that didn't work? Do you mean you didn't get a list of the files / bridge error?

There is a great possibility you didn't have a bridge configured correctly.

durasj avatar Feb 19 '17 21:02 durasj