Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="app">
<head>
    <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/js/foundation.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/js/foundation/foundation.reveal.min.js"></script>
        <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/css/foundation.min.css" rel="stylesheet">
    <meta charset="utf-8">
    <title>JS Bin</title>
</head>
<body>
<button class="button" data-reveal-id="create-post">Reveal</button>
  <div>
<div class="reveal-modal" id="create-post" data-ng-controller="CreatePostController">
    <form name="createPost" novalidate>
                      <input type="text" ng-model="fieldModel" name="field" required>
                      <div data-ng-hide="createPost.$valid">Field is required</div>
        <div data-ng-repeat="opt in options">
            <ng-form name="controlForm">
                <input type="text" ng-model="fieldModel" name="field" required>
                <div data-ng-model="fieldModel" data-form-text="small" data-title="*Topic" data-required="true"></div>
                <div data-ng-hide="controlForm.$valid">Field is required</div>
            </ng-form>
        </div>
    </form>
    <a class="close-reveal-modal">&#215;</a>
</div>
  </div>
  
  
  
<script>
$(function(){
    $(document).foundation();
});
</script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers