index.js
function() {
        serviceFactory.optionalDeps = {}
        _.each(arguments, function(depName) {
          serviceFactory.optionalDeps[depName] = true
        })
      }
function() {
        serviceFactory.optionalDeps = {}
        _.each(arguments, function(depName) {
          serviceFactory.optionalDeps[depName] = true
        })
      }
function ( ) { serviceFactory . optionalDeps = { } _ . each ( arguments , function ( depName ) { serviceFactory . optionalDeps [ depName ] = true } ) }
use this chain method to mark optional dependencies to suppress warnings.
use this chain method to mark optional dependencies to suppress warnings .