The best practice in my case was to turn on the following flag for the closure compiler:
angular_pass: true
and use the following annotation:
/**
* @description App configuration
* @param {!angular.$routeProvider} $routeProvider
* @constructor
* @ngInject
*/
Therefore we do not need to use the following
Config['$inject'] = ['$routeProvider'];