Permalink
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...
1 parent 5e464b0 commit f5c696babb6c65e824a2547657b33f6fa1fd9fde @pkozlowski-opensource pkozlowski-opensource committed with IgorMinar Oct 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/homepage.js
View
@@ -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'
};
})

0 comments on commit f5c696b

Please sign in to comment.