angular-leetspeak
v1.0.1
Published
leetspeak filter for AngularJS
Downloads
6
Maintainers
Readme
angular-leetspeak
leetspeak filter for AngularJS
Demo
Usage
Install via either bower, npm or downloaded files:
- via bower:
bower install --save angular-leetspeak
- via npm:
npm install --save angular-leetspeak
- via downloaded files
- via bower:
Add
jtt_leetspeak
to your application's module dependencies.Include dependencies and angular-leetspeak in your HTML.
- When using bower
<script src="node_modules/angular-leetspeak/dist/angular-leetspeak.min.js"></script>
- When using npm
<script src="node_modules/angular-leetspeak/dist/angular-leetspeak.min.js"></script>
- When using downloaded files
<script src="YOUR_PATH/angular-leetspeak.min.js"></script>
Use the angular filter
leetspeak
like this:{{ name | leetspeak}}
Sample
HTML
<p>
Author: {{ 'JohnnyTheTank' | leetspeak }}
</p>
Result:
<p>
Author: j0hnny7h374nk
</p>
LICENSE
MIT