Created a "check" to see if $resourceProvider.defaults