No-Library (pure JS), HTML, CSS, JavaScript
You can download file with any extension you want
There are 2 links which are commented in the HTML section
Demonstrates loading remote data into a Bootstrap Modal. SO: http://stackoverflow.com/q/12152101/570918
jQuery 1.9.1, HTML, CSS, JavaScript
jQuery 1.7.2, HTML, CSS, JavaScript
How to overwrite the event from directive in the view Controller