I have a simple GSP View which contains a reference to 2 bundles being managed by the Grails Resources plugin.
the reference to the core angularjs libraries are in my layout.
A basic representation of the view is like so:
<html ng-application="myapp">
<head>
<meta name="layout" content="main"/>
<title>a title</title>
<r:require modules="index, widgeta"/>
</head>
<body ng-controller="index">
<div>
<widgeta/>
</div>
</body>
</html>
Grails seems to pull everything in just fine, i can even see the myapp.controller('index', function(){}); line get executed.
However; my controller function itself never gets executed. Why not!?