Skip to content

Commit

Permalink
Adds $window dependency injection done with [] format
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekrb committed Mar 10, 2015
1 parent fc40ece commit d331aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/angular-pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

'use strict';

angular.module('pdf', []).directive('ngPdf', function($window) {
angular.module('pdf', []).directive('ngPdf', ['$window', function($window) {
return {
restrict: 'E',
templateUrl: function(element, attr) {
Expand Down Expand Up @@ -116,6 +116,6 @@

}
};
});
}]);

})();

0 comments on commit d331aea

Please sign in to comment.