I've worked through the Distributed OSGi tutorial up to the last section
here (http://enroute.osgi.org/tutorial_rsa/260-gui.html) but I'm having
some trouble with the JS part. Maybe I'm missing something obvious
(AngularJS is new to me) but I want to check if there could be a typo
around the name of the `enEasse` module here:
var MODULE = angular.module(
'osgi.enroute.examples.chat', // CHANGE
[ 'ngRoute', 'enEasse' ]);
I can find documentation for the ngRoute module but what is enEasse? It
seems to be used here:
var close = en$easse.handle(...
but it's not clear to me where this handle function is defined.
When I run the chat app and view the page at
http://localhost:8081/com.example.chat.application/index.html#/, I get this
JS error:
Error: [$injector:modulerr] Failed to instantiate module
com.example.chat.application due to:
[$injector:modulerr] Failed to instantiate module enEasse due to:
[$injector:nomod] Module 'enEasse' 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.
...
Any ideas what's going wrong?
--
Jesse Rao
Software Engineer
Liferay, Inc.
Visit Us: www.liferay.com | Like Us: www.facebook.com/liferay | Follow
Us: www.twitter.com/liferay | Share Us: www.instagram.com/liferayinc
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev