This afternoon I encountered a rather peculiar behavior with AngularJS.
If "//" is present in an expression within the "action" attribute of a form, Angular will throw an interpolate error.
Take a look at the code snippet below. When you run this code, the URL appears correctly everywhere except in the "action" attribute.
<form
id="moodleform" target="my_iframe"
method="post" action="{{'http://www.someurl.com'}}"
style="{{'http://www.someurl.com'}}"
some-attr="{{'http://www.someurl.com'}}">
{{'http://www.someurl.com'}}
<input name="somefield" value="someValue"/>
<input type="submit" value="Submit">
Here's a Plunker showcasing this issue. If you inspect the form element, you'll notice that the action attribute is empty and there's an error in the console stating $interpolate:interr
https://plnkr.co/edit/R2ypg6WWmro1WdrNy6mX?p=preview
If you have any insights or solutions, your input would be greatly appreciated.