Error: e.modal is not a function

I’m building my own plugin and datasource. But when I’m in my plugin, when I tried to delete my datasource, and in dashbord page sometimes I can’t live the page, everywhere I click I recevei thse error:

Error: e.modal is not a function
i/<@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:8:27578
i@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:51:24759
l/<@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:51:25181
zc/this.$get</o.prototype.$eval@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:52:289
zc/this.$get</o.prototype.$digest@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:51:30801
zc/this.$get</o.prototype.$apply@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:52:574
yg[b]</<.compile/</<@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:54:7606
na.event.dispatch@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:48:14542
na.event.add/q.handle@http://grafana-local.pop-sc.rnp.br:3000/public/app/boot.d709d8d5.js:48:12596
Possibly unhandled rejection: {}

Try to build Grafana from sources. In this case you’ll have got detailed stack trace.

Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included before the plugin files).