
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
angular.mailcheck
Advanced tools
Reduce user-misspelled email addresses in your angular forms.
You can get it from Bower
bower install angular.mailcheck
or npm
npm install angular.mailcheck
Load the script files in your application:
<script type="text/javascript" src="bower_components/angular/angular.js"></script>
<script type="text/javascript" src="bower_components/mailcheck/src/mailcheck.js"></script>
<script type="text/javascript" src="bower_components/angular.mailcheck/angular-mailcheck.js"></script>
Add the specific module to your dependencies:
angular.module('myApp', ['tf.mailcheck', ...])
<div>
<input
type="email"
ng-model="vm.email"
tf-mailcheck="vm.suggestion"
/>
<div ng-if="vm.suggestion">
Did you mean
<a href ng-click="vm.email = vm.suggestion.full">
{{vm.suggestion.full}}</a>?
</div>
</div>
<!-- Pass options with tf-mailcheck-options -->
<!-- Options: https://github.com/mailcheck/mailcheck#usage-without-jquery -->
<div>
<input
type="email"
ng-model="vm.email2"
tf-mailcheck="vm.suggestion2"
tf-mailcheck-options="{secondLevelDomains: ['foobar']}"
/>
<div ng-if="vm.suggestion2">
Did you mean
<a href ng-click="vm.email2 = vm.suggestion2.full">
{{vm.suggestion2.full}}</a>?
</div>
</div>
FAQs
Reduce user-misspelled email addresses in your angular forms
The npm package angular.mailcheck receives a total of 8 weekly downloads. As such, angular.mailcheck popularity was classified as not popular.
We found that angular.mailcheck demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.