Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="test">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-controller="MainCtrl">
  <form method="post" ng-submit="preSubmit()" action="{{formActionUrl}}">
</body>
</html>
 
var app = angular.module('test', []);
app.controller('MainCtrl', function ($scope, $sce) {
  $scope.formActionUrl = $sce.trustAsResourceUrl("https://posttestserver.com/post.php");
});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers