<div class="container">
    <div class="alert alert-info">
        <label>Cargar listado de domminios de mail desde excel</label>
        <input type="file" on-read-file="loadEmailExcel($fileContent)"/>
    </div>
    <div class="alert alert-danger">
        <form ng-submit="deleteEmailDomains()">
            <div class="form-group">
                <label>Borrar listado de dominios de mail</label>
                <input type="password" ng-model="deleteEmailDomainsPassword" class="form-control width25" placeholder="Password de la cuenta de administraci&oacute;n"/>
            </div>
            <button class="btn" type="submit">Borrar Emails</button>
        </form>
    </div>
    <div class="row">
        <div class="form-group">
            <input type="text" class="form-control" ng-model="q.emailDomainText" placeholder="Texto a buscar"/>
        </div>
        
        <table class="table table-striped">
            <th>Dominio</th>
            <tr ng-repeat="emailDomain in emailDomains | filter:q | orderBy:'emailDomainText'">
                <td style="white-space: nowrap">{{emailDomain.emailDomainText}}</td>
            </tr>
        </table>
    </div>
</div>