I have a controller, which references a directive. The directive has its own controller. My Directive has ng-file-upload (which is another directive in itself).
I have some fields in the directive which needs to be passed back as an array to the main controller. How do I do this?
Cheers!