Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div ng-controller="ListCtrl">
- <div class="row pull-right">
- <form class="form-inline" ng-submit="submit()" ng-model="addForm" name="addForm">
- <div class="form-group">
- <input type="text" class="form-control" ng-model="description" id="description" placeholder="Description">
- </div>
- <div class="form-group">
- <input type="number" class="form-control" id="value" ng-model="value" placeholder="0">
- </div>
- <button type="submit" class="btn btn-default">+</button>
- </form>
- </div>
- <div class="row">
- <table class="table">
- <thead>
- <tr>
- <th>Description</th>
- <th>Valor</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="finanza in finanzas">
- <th scope="row">{{finanza.description}}</th>
- <td>{{finanza.value}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement