Update providerSpec.js and directivesSpec.js