Angular Empty fiddle
http://angularjs.org/
by Artur Nowakowski
HTML
<script src="http://www.getuikit.com/dist/js/uikit.min.js"></script>
<link rel="stylesheet" href="http://www.getuikit.com/dist/css/uikit.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js"></script>
<div ng-app="myApp" ng-controller="MyCtrl">
<form name="myForm">
{{hello}}
<input type="email" name="email" ng-model="email" ng-pattern="/^[A-Za-z0-9._%+-][email protected]$/"/>
<span ng-show="myForm.$invalid">wrong email!</span>
{{myForm.name}}
</form>
</div>
JavaScript
var app = angular.module('myApp',[])
app.controller('MyCtrl',function MyCtrl($scope) {
$scope.hello = "Hello world!";
});