4
votes
1answer
48 views

How to use two AngularJS services with same name from different modules?

Supposed I have two modules for AngularJS, e.g. foo and bar, and both of them define a service called baz. In my application I depend on them by saying: var app = angular.module('app', [ 'foo', ...