title: Angular set form action based on variable in scope
body: <p>I've been trying to setup a search form where I can inject the form action attribute.</p>
  
  <p>In my form I have</p>
  
  <pre><code>&lt;form action="{{action}}"&gt;
  </code></pre>
  
  <p>Then in my controller I have</p>
  
  <pre><code>$scope.action = "http://www.somesite.com"
  </code></pre>
  
  <p>That gives me an interpolate error because it has untrusted "http:" in the string. How do I get around this. I know I can use ng-bind-html to put html in the dom but I dont know if I can get that to work with an attribute only.</p>
  
  <p>Has anyone else had this issue. I really cant think of a way around it.</p>
  
  <p>Thanks</p>