Last active
January 6, 2018 04:22
-
-
Save theuves/331a19d7b6e507ea44bfc0009a71a8be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (angular) { | |
| "use strict"; | |
| angular | |
| .module("preencher", []) | |
| .filter("preencher", preencher); | |
| function () { | |
| return function (str, pad) { | |
| return str | |
| .toString() | |
| .padStart(pad, "0"); | |
| }; | |
| } | |
| })(window.angular); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment