You do better to access the direct source from you browser and get.
This problem occurs too when you want to refer to the Angular UI Bootstrap using this link
The link was pointing to a text file.
What I did to solve the issue was to download the entire file in a zip format here then unzipped and located the ui-bootstrap-tpls-0.11.2.js
I hope this could save life ;)