title: How do I use a dynamic form action using angular?
body: <p>I have an http get method that generates a dynamic form upload URL.  When I display it on the screen it works.  When I put it in the action tag of a form it does not appear.</p>
  
  <pre><code>    &lt;div ng-app="mainApp" ng-controller="data-controller"&gt;
      &lt;form action="{{uploadUrl}}" method="post" enctype="multipart/form-data"&gt;
          &lt;input type="file" name="myFile"&gt;
          &lt;input type="submit" value="Submit"&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>data-controller.js</p>
  
  <pre><code>    var url = "[MY URL]";
  $http.get(url).success(function(response) {
      $scope.uploadUrl = response;
  });
  </code></pre>
  
  <p>Any help is appreciated.</p>