Download the plugin, unzip it, copy files and include fancyBox script and stylesheet the css and js files are on your server, and adjust the paths in the script and link tag). If you are not familiar with jQuery, please, read this tutorial for beginners. where 'ajax' was used as default type or an error message was displayed). I don't understand your first question, please clarify it. The app.config part is to declare data:xyz protocol as "safe" to use. If you don't have that part of code, AngularJS directive like ng-href will attempt to modify the original url by adding unsafe into it.
Continue reading