[AngularJS] Picture taken from Camera/Gallery not reloaded

2017-10-09 Thread Zlatko Đurić
I suspect you might need to sanitize the file url. Now I don't remember exactly for angular 1, but I think the service is called $sce, so look into that first. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe

[AngularJS] Picture taken from Camera/Gallery not reloaded

2017-10-08 Thread jaden behr
Hello, I'm in a process of creating a small app where upon clicking a button a popup is opened (via mdDialog service) and two options are presented: Open Camera and Open Gallery. The returned url is then attached to the scope. I've encountered two problems: 1. When I click the Open Gallery