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
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