<div class="user-details">
    <div ng-hide="slide.editMode">
        <label>Votre Titre</label>
        <h4 ng-dblClick="doubleClick()">{{slide.title}}</h4>
        <label>Vos commentaires</label>
        <p ng-dblClick="doubleClick()" class="description">{{slide.description}}</p>
        <label>Tags</label>
        <p ng-dblClick="doubleClick()"><em>{{slide.tags.join(', ')}}</em></p>
        <div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slide.editMode=true"><span class="glyphicon glyphicon-pencil"></span></button></div>
    </div>

    <div ng-show="slide.editMode">
        <input type="text" class="form-control" ng-model='slide.title' placeholder="Titre"></input>
        <textarea class="form-control editor-textarea" ng-model='slide.description' placeholder="Description"></textarea>
        <input type="text" class="form-control" ng-model='slide.tags' placeholder="Tags"></input>
        <div class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slidesave()"><span class="glyphicon glyphicon-ok"></span></button></div>
    </div>
</div>