Fixing "Unknown provider" error when minify script https://coderwall.com/p/eeqo7q