making angular-loader compatible