- removed sprintf.js from the lib, as we are now using bower.
- adding replace method in service.
- adding listener in directive if the language file is not loaded yet to trigger the replace method when the language file is loaded