Fix minification issue with $scope

This fixes issue #19. Minification (uglify) of the
non-minified version causes Angular injection error.
Merge pull request #21 from semonte/master

Fix minification issue with $scope