Tôi đang cố gắng sử dụng khung ionic với angular.I muốn làm xác nhận của hình thức của tôi trên nút click.Mean Tôi cần phải xác nhận tất cả các lĩnh vực trên nút bấm. Tất cả các lĩnh vực được yêu cầu .. Tôi cần hiển thị thông báo lỗi nếu một trường không đáp ứng yêu cầu. Giống như mật khẩu tối thiểu nhân vật 5 và tối đa 10. Và xác nhận email.làm thế nào để xác nhận hình thức trong ionic sử dụng góc js
bạn có thể xin vui lòng cho m làm thế nào tôi sẽ làm validation.Here là tôi code
<html ng-app="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Sign-in, Then Tabs Example</title>
<link href="//code.ionicframework.com/nightly/css/ionic.css" rel="stylesheet">
<script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script>
</head>
<body>
<ion-view title="Page">
<ion-content padding="true" class="has-header has-footer">
<form>
<label class="item item-input">
<span class="input-label">name</span>
<input type="text" placeholder="name">
</label>
<label class="item item-input">
<span class="input-label">email</span>
<input type="email" placeholder="email">
</label>
<label class="item item-input">
<span class="input-label">password</span>
<input type="password" placeholder="password">
</label>
</form>
<button class="button button-balanced button-block">check validation</button>
</ion-content>
</ion-view>
</body>
</html>