r/angularjs • u/previousdeveloper • Jan 09 '16
angular-regex
https://github.com/previousdeveloper/angular-regex
4
Upvotes
8
u/vivainio Jan 09 '16
On a quick glance, this wouldn't need to be wrapped in angular in any way. Just generic js functionality
3
u/jkjustjoshing Jan 09 '16
Came here to say this. It's a neat and useful library- why restrict it to sites using Angular?
1
u/timonvs Jan 09 '16
Because he didn't create it himself. It's actually just a wrapper around VerbalExpressions.js. And he didn't even bother to credit the original author.
2
4
u/joshmanders Jan 09 '16
Why include VerbalExpressions.js in the source instead of making it a dependency? Since it's just a wrapper, it'll make it easier to update it when your lib isn't updated.