`$resources` is meant to be used unmocked in unit tests. I don't want the $server dependency to be resolved (because then it's harder to set up) unless absolutely necessary, i.e. unless downloadCordovaJsFiles is called. That method is called only by the `npm prepublish` step.