I have meteor-augular application and was getting an error after importing elasticsearch module on the client side. Any help is greatly appreciated.
import elasticsearch from 'elasticsearch-browser';
export default angular.module(name, [
angularMeteor,
uiRouter,
'elasticsearch'
])
[$injector:nomod] Module ‘elasticsearch’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.