I have an issue in angularjs form, i can't manage to get the data from the form (ng-model) with php.
<div class="divProfil">
<form id="formProfil" ng-submit="submit()">
<p><span>Bonjour </span><input type="text" name="loginProfil" ng-model="loginProfil"/></p>
<p>Mon mot de passe: <input type="text" name="mdpProfil" ng-model="mdpProfil"/></p>
<p> Email: <input type="email" name="emailProfil" ng-model="emailProfil"/></p>
<input class="btn btn-primary" type="submit" value="Enregistrer"/>
</form>
</div>
I submit the form with $http which work fine but when i try to do in php :
$login = $_POST['loginProfil'];
$mdp = $_POST['mdpProfil'];
$email = $_POST['emailProfil'];
each of this variable is empty. Need some help, please!