Filestack with Angular 2
问题 I'm trying to add an option to add an image in my Angular 2 App and wanted to use Filestack (formerly filepicker.io) to store the images. So I included these script tags in my index html file above </body> , as Filestack suggested (and put my API key in) and added the <input> field in my component html which displays the form to add a new recipe: in index.html: <script src="https://static.filestackapi.com/v3/filestack-0.5.0.js"></script> <script> var url = ''; var client = filestack.init(