I am using laravel-angular set up. http://www.laravel-angular.io/#/
I am also trying to use ng-file-upload as described here. https://github.com/danialfarid/ng-file-upload
I am having trouble set up my project to access this ngFileUpload directive, it says in the installation.( https://github.com/danialfarid/ng-file-upload#-install)
<script src="angular(.min).js"></script>
<script src="ng-file-upload-shim(.min).js"></script> <!-- for no html5 browsers support -->
<script src="ng-file-upload(.min).js"></script>
but my question is where to I put these references if I am using elixir to compile all my dependencies?
Also where can I put this line if I need to load it into the app (I was thinking index.modules.js)
var app = angular.module('fileUpload', ['ngFileUpload']);
Have installed and used a few plugins for this project before, but this one is giving me trouble. Any suggestions would be greatly appreciated.
I keep getting errors when the app starts running, before I need to inject "Upload" into the controller.
Thanks,
Matt
Uploadin your controller and use it.