<!DOCTYPE html>
<html lang="en"ng-app="">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="js/angular.min.js"></script>
</head>
<body>
<script>
var app = angular.module('test1',[]);
app.service('ser1',function () {
this.num = 12;
});
var app2 = angular.module('test2',[]);
app.service('ser2',function () {
this.num = 15;
});
var ininjector = angular.injector(['test1','test2']);
alert(ininjector.get('ser1').num);
alert(ininjector.get('ser2').num);
</script>
</body>
</html>