<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title"><i class="fa fa-lg fa-exclamation-circle"></i>&nbsp;Add New Category</h4>
      </div>
      <div class="modal-body">
        <div class="form-group">
          <label for="category-name">Device Category</label>
          <input class="form-control" id="category-name" type="text" name="categoryName" placeholder="Enter New Category" ng-model="dbEdit.newCategory.name" required>
        </div>
        <div class="form-group">
          <label for="category-id">Category ID</label>
          <input class="form-control" id="category-id" type="number" name="categoryId" placeholder="Enter New ID" ng-model="dbEdit.newCategory.id" required>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-disabled="!dbEdit.newCategory.name || !dbEdit.newCategory.id" ng-click="$event.stopPropagation();addCategory();$hide()">Save</button>
        <button type="button" class="btn btn-danger" ng-click="$event.stopPropagation();$hide()">Cancel</button>
      </div>
    </div>
  </div>
</div>