Last active
December 25, 2015 02:29
-
-
Save oliverm2112/6902751 to your computer and use it in GitHub Desktop.
Form tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body ng-app="MyApp" ng-controller="MyCtrl"> | |
<form name="theForm" action="newpage.html" method="post"> | |
<input type="text" ng-model="model.test"/> | |
</form> | |
<button ng-click="submitForm()">Submit form via angular</button> | |
<script type="text/javascript" src="lib/angular-1.1.5.js"></script> | |
<script type="text/javascript" src="js/MyApp.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment