Professional Documents
Culture Documents
Angular Js - Lab - 7
Angular Js - Lab - 7
DOCTYPE html>
<html>
<head>
<title>
</title>
<script src="angular.min.js"></script>
<script>
$scope.sendForm = function () {
};
});
</script>
<style>
.valid.false {
background: red;
.valid.true {
background: green;
.error {
color: red;
</style>
</head>
<body ng-app="formApp" ng-controller="formCtrl">
<label for="name">Name</label>
<label for="adress">Adress</label>
<br /><br/>
<span>{{msg}}</span>
</form>
</body>
</html>