cgross / angular-prompt

Angular service to easily display input prompts and confirmation modals.
http://cgross.github.io/angular-prompt/demo
MIT License
52 stars 41 forks source link

Service is the same name as a native JavaScript function #24

Open jziggas opened 8 years ago

jziggas commented 8 years ago

If the service isn't injected into a controller and prompt() is invoked then it will invoke the native prompt function. Linters won't complain because it will be recognized as a native function.