I created some value named information and tried to edit it. How ever it is not effect in controller. Then, example in below not working.
(function () {
var app = angular.module('app', []);
app.value('information', []);
app.run(['information', function (information) {
information = [1, 2, 3, 4];
}]);
app.controller('myController', [
'$scope', 'information', function ($scope, information) {
$scope.inf = information;
}]);
})();
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
<script src="app.js"></script>
</head>
<body ng-app="app">
<div ng-controller="myController">
<p ng-repeat="i in inf">
{{ i }}
</p>
</div>
</body>
</html>
information.push(1, 2, 3, 4)