Fix minification issue with $scope

This fixes issue #19. Minification (uglify) of the
non-minified version causes Angular injection error.