I'm trying to import angular-translate in angularjs 1.5.3 project using ES6
when I try import angular-translate;
it doesn't import any thing from the angular translate module, I tried also import pascalprecht.translate from 'angular-translate';
but that generates a syntax error as it doesn't accept the .
or -
in the module name.
did any one know the correct way to import angular-translate
in my project.
thank you in advance.
you can import it either using import 'angular-translate';
or import pascalprecht from 'angular-translate';