Scope Variable with slashes is not resolved


#1

Hi all,

My Ionic app must display a page from another website. For this I added an iFrame to one of my templates like this:

<iframe src="{{iframeUrl}}"></iframe>

The iframeUrl variable is correctly set in my controller and seems to work.
The problem arises when the iframeUrl contains slashes like this for example:

$scope.iframeUrl = "http://www.google.com"

In this case the variable is NOT resolved inside the template.

How can I solve this?

thanks for your help,
Peter