1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| //= wrapped
|
| angular
| .module("grailsangular.index")
| .controller("IndexController", IndexController);
|
| function IndexController(applicationDataFactory, contextPath) {
| var vm = this;
|
| vm.contextPath = contextPath;
|
| applicationDataFactory.get().then(function(response) {
| vm.applicationData = response.data;
| });
| }
|
|