No provider for TranslateService! Error


#1

I am getting following error when trying to use TranslateSevice from ‘ng2-translate’.
Any suggestion…

Error: Uncaught (in promise): Error: No provider for TranslateService!
Error
at g (polyfills.js:3)
at injectionError (core.es5.js:1232)
at noProviderError (core.es5.js:1270)
at ReflectiveInjector_.throwOrNull (core.es5.js:2772)
at ReflectiveInjector
.getByKeyDefault (core.es5.js:2811)
at ReflectiveInjector
.getByKey (core.es5.js:2743)
at ReflectiveInjector
.get (core.es5.js:2612)
at AppModuleInjector.NgModuleInjector.get (core.es5.js:3577)
at resolveDep (core.es5.js:10981)
at createClass (core.es5.js:10849)
at createDirectiveInstance (core.es5.js:10675)
at createViewNodes (core.es5.js:12024)
at createRootView (core.es5.js:11929)
at Object.createProdRootView [as createRootView] (core.es5.js:12507)
at ComponentFactory_.create (core.es5.js:9866)
at g (polyfills.js:3)
at injectionError (core.es5.js:1232)
at noProviderError (core.es5.js:1270)
at ReflectiveInjector_.throwOrNull (core.es5.js:2772)
at ReflectiveInjector
.getByKeyDefault (core.es5.js:2811)
at ReflectiveInjector
.getByKey (core.es5.js:2743)
at ReflectiveInjector
.get (core.es5.js:2612)
at AppModuleInjector.NgModuleInjector.get (core.es5.js:3577)
at resolveDep (core.es5.js:10981)
at createClass (core.es5.js:10849)
at createDirectiveInstance (core.es5.js:10675)
at createViewNodes (core.es5.js:12024)
at createRootView (core.es5.js:11929)
at Object.createProdRootView [as createRootView] (core.es5.js:12507)
at ComponentFactory_.create (core.es5.js:9866)
at g (polyfills.js:3)
at l (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (core.es5.js:4136)
at t.invokeTask (polyfills.js:3)
at n.runTask (polyfills.js:3)
at a (polyfills.js:3)
at