Direct server submission

Description

The following code shows how to do direct server submission.

Example


<!doctype html>
<html ng-app="myApp" >
<head>
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js"></script>
</head><!--from   w  w  w  .  j a  va  2s  .com-->
<body>
  <form method="get" action="http://www.example.com/search">
    <input name="q"> Press enter in the input to submit
  </form>
</body>
</html>

Click to view the demo





















Home »
  AngularJS »
    AngularJS Example »




Controller
Directives
Expression
Filter
Form
Inject
Scope
Server
Style
Template
Utilities