blob: 484f58ad8f6559ce7d72c5ee68ad186c5360dd55 [file]
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-NgModelController-jquery</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script src="../../components/jquery-1.10.2/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="script.js"></script>
</head>
<body ng-app="customControl">
<form name="myForm">
<div contenteditable
name="myWidget" ng-model="userContent"
strip-br="true"
required>Change me!</div>
<span ng-show="myForm.myWidget.$error.required">Required!</span>
<hr>
<textarea ng-model="userContent"></textarea>
</form>
</body>
</html>