Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am trying to use nervgh/angular-file-upload to show image preview on canvas when click on upload file button. I have an angular app, where the controller is defined in the body tag. I have three parts/sections of the app which require a choose file button each having a canvas to preview. So all the three come under the same controller.

How should I try and achieve this.

I did it for one section and it worked perfectly. Now I am confused If I need to add new directive with new controller for the next one.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.