The problem is that
angular.module('*unOgecService*',['ngResource']);
_creates_ the module.
To only get a reference to the module use
angular.module('*unOgecService*');
IMHO that API is seriously broken.
Would be much better to have two separate method to create vs, get a module.
On Thursday, March 13, 2014 10:50:16 AM UTC+1, Kévin Ribot wrote:
>
> My first service works but not the second.
> I don't see why..
> *//second service*
> var unOgecService = angular.module('*unOgecService*',['ngResource']);
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.