Fixed minification failure by adding explicit declaration for dependency injection of  parameter
Merge pull request #5 from rickhuizinga/master

Fixed minification failure by adding explicit declaration for dependency injection of $window parameter