Fixing issue with minification and routeprovider