Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myapp">
<head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0-beta.2/angular.min.js"></script>
    <script src="https://code.angularjs.org/1.5.0-rc.0/angular-sanitize.min.js"></script>
  
</head>
<body ng-controller="AddCtrl">
    <button ng-click="add_NameField($index)">Add Name again</button>
    <button ng-click="add_EmailField($index)">Add Email again</button>
  <div id="drop"></div>
    <form ng-show="showName_Fieldsettings">
        <div class="form-group">
            <label>Field Label(?)</label>
            <br/>
            <input ng-model="field.name">
        </div>
    </form>
    <form ng-show="showEmail_Fieldsettings">
        <div class="form-group">
            <label>Field Label(?)</label>
            <br/>
            <input ng-model="field.email">
        </div>
    </form>
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers