<div class="alert alert-info">
    <form name='form' class="form-group">
        <div class="form-group">
            <input class="form-control width25" data-ng-model='user.old_password' type="password" name='old_password' placeholder='Contrase&ntilde;a actual' required>
            <p ng-show="form.old_password.$error.required" class="help-block">
                    Campo obligatorio</p>
        </div>
        <div class="form-group">
            <input class="form-control width25" data-ng-model='user.new_password' type="password" name='new_password' placeholder='Nueva contrase&ntilde;a' required>
            <p ng-show="form.new_password.$error.required" class="help-block">
                    Campo obligatorio</p>
        </div>
        <div class="form-group">
            <input class="form-control width25" ng-model='user.password_new_verify' type="password" name='confirm_new_password' placeholder='Confirmar nueva contrase&ntilde;a' required data-password-verify="user.new_password">
            <p ng-show="form.confirm_new_password.$error.required" class="help-block">
                    Campo obligatorio</p>
            <p ng-show="form.confirm_new_password.$error.passwordVerify" class="help-block">
                    Los dos campos deben ser iguales</p>
        </div>
        <button class="btn btn-primary" ng-click="modifyPassword()">Modificar Contrase&ntilde;a</button>
    </form>
</div>
<div class="container">
    <div class="row">
        <table class="table table-striped">
            <th>Nombre</th>
            <th>N&uacute;mero de colegiado</th>
            <th>Especialidad</th>
            <th>Edad</th>
            <th>Sexo</th>
            <th>Provincia</th>
            <th>Creada</th>
            <tr>
                <td>{{account.name}}</td>
                <td>{{account.number}}</td>
                <td>{{account.specialty}}</td>
                <td>{{account.age}}</td>
                <td>{{account.gender}}</td>
                <td>{{account.province}}</td>
                <td>{{account.created}}</td>
            </tr>
        </table>
    </div>
</div>