0
I made a web and mobile app. After the user’s registration, I am taking the email and saving it in the Torage locale. How can I place this email in the login form email field?
<ion-view title="Login" hide-back-button="true">
<ion-content overflow-scroll="true" padding="true" class="has-header">
<form class="list">
<ion-list>
<div ng-controller="loginCtrl">
<label class="item item-input">
<input type="text" ng-model="usuario.email" placeholder="E-mail">
</label>
<label class="item item-input">
<input type="password" ng-model="usuario.senha" placeholder="Senha">
</label>
</ion-list>
<div class="spacer" style="height: 40px;"></div>
<button class="button button-block button-positive" ng-click="logar(usuario)">Entrar</button>
<a href="#/cadastroCep" class="button button-block button-positive">Cadastre-se</a>
<div align="center">{{msgErro}}</div>
</div>
</form>
</ion-content>
Leaving the
usuario.email
ng-model is not working? And it is not showing any error in the console?– William Kennedy