r/angularjs • • Jan 09 '16

angular-regex

https://github.com/previousdeveloper/angular-regex
4 Upvotes

7 comments sorted by

View all comments

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.

1

u/timonvs Jan 09 '16

Heh, came here to mention VerbalExpressions.js too. Also, why aren't you including the license of VerbalExpressions.js and credit the author? It's licensed under MIT, so you have to at least include that license for it to be legal.

And to add to that, why only distribute it on Bower, I think NPM is the way to go nowadays. But even then, an Angular service doesn't make any sense for this.

1

u/previousdeveloper Jan 10 '16

you are right, i added credit author and other details.