Add new serializer for the data send by Orpheo. We receive XML so we parse it to json. Then we parse some html to get the proper data of each attribute.
Add xmlToJson parser module to requirements.txt
<div class="modal-header ng-scope">
<h3 class="modal-title">Authentication Page</h3>
</div>
<form ng-submit="login()">
<div class="modal-body ng-scope">
<input type="text" class="form-control" ng-model='username' placeholder="Username">
<input type="password" class="form-control" ng-model='password' placeholder="Password">
</div>
<div class="modal-footer ng-scope">
<a href='' ng-click="register()">Creer un compte</a>
<button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
<button type="submit" ng-disabled="userForm.$invalid" class="btn btn-primary">Login</button>
</div>
</form>