Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Description:
- * removes white space from text. useful for html values that cannot have spaces
- * Usage:
- * {{some_text | nospace}}
- */
- app.filter('nospace', function () {
- return function (value) {
- return (!value) ? '' : value.replace(/ /g, '');
- };
- });
Add Comment
Please, Sign In to add comment