Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use http protocol in urls for CDN-hosted AngularJS files

All the links to the AngularJS files were missing a protocol. This was causing problems for people coping & pasting code and trying to run it using the file:// protocol.
  • Loading branch information...
commit f5c696babb6c65e824a2547657b33f6fa1fd9fde 1 parent 5e464b0
@pkozlowski-opensource pkozlowski-opensource authored IgorMinar committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/homepage.js
View
4 js/homepage.js
@@ -82,8 +82,8 @@ angular.module('homepage', [])
.factory('script', function() {
return {
- angular: '<script src="//ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular.min.js"></script>\n',
- resource: '<script src="//ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular-resource.min.js"></script>\n'
+ angular: '<script src="http://ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular.min.js"></script>\n',
+ resource: '<script src="http://ajax.googleapis.com/ajax/libs/angularjs/' + angular.version.full + '/angular-resource.min.js"></script>\n'
};
})
Please sign in to comment.
Something went wrong with that request. Please try again.