angular.module('app.services', []).service("test", function($http, $rootScope){
this.test=function(){
$rootScope.name="test1";
};
};
angular.module('app.controllers', []).controller('TestController', function ($scope, test) {
test.send();
})
エラーは発生しませんが、変更が UI に適用されません。$scope.apply() を試したところ、エラーが発生しました。