{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-profile-repository/issues/65","repository_url":"https://api.github.com/repos/grails/grails-profile-repository","labels_url":"https://api.github.com/repos/grails/grails-profile-repository/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-profile-repository/issues/65/comments","events_url":"https://api.github.com/repos/grails/grails-profile-repository/issues/65/events","html_url":"https://github.com/grails/grails-profile-repository/issues/65","id":143056605,"number":65,"title":"Clean app with AngularJS profile: ReferenceError: angular is not defined","user":{"login":"tvinke","id":5716089,"avatar_url":"https://avatars.githubusercontent.com/u/5716089?v=3","gravatar_id":"","url":"https://api.github.com/users/tvinke","html_url":"https://github.com/tvinke","followers_url":"https://api.github.com/users/tvinke/followers","following_url":"https://api.github.com/users/tvinke/following{/other_user}","gists_url":"https://api.github.com/users/tvinke/gists{/gist_id}","starred_url":"https://api.github.com/users/tvinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvinke/subscriptions","organizations_url":"https://api.github.com/users/tvinke/orgs","repos_url":"https://api.github.com/users/tvinke/repos","events_url":"https://api.github.com/users/tvinke/events{/privacy}","received_events_url":"https://api.github.com/users/tvinke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T19:25:54Z","updated_at":"2016-04-12T15:37:19Z","closed_at":null,"body":"After having created a clean application with the AngularJS profile e.g.\r\n\r\n`grails create-app angular --profile=angular`\r\n\r\nand starting my newly created app, the index page loads on http://localhost:8080 but contains JavaScript errors, such as\r\n\r\n```\r\nTypeError: angular is undefined\r\n angular-resource.js:8:5\r\nReferenceError: angular is not defined\r\n angular.core.js:9:1\r\nReferenceError: angular is not defined\r\n DomainServiceFactory.js:10:1\r\nReferenceError: angular is not defined\r\n angular.index.js:11:1\r\nReferenceError: angular is not defined\r\n applicationDataFactory.js:5:1\r\nReferenceError: angular is not defined\r\n indexController.js:5:1\r\nReferenceError: angular is not defined\r\n ui-bootstrap-tpls.js:7:4\r\nReferenceError: angular is not defined\r\n angular.js:8:1\r\n```\r\n\r\nScreenshot: https://www.dropbox.com/s/lpsnnhqlik1h0ch/grails%20314%20ReferenceError%20angular%20is%20not%20defined.png?dl=0\r\n\r\nGrails 3.1.4 either on Chrome/Windows 7 (using Git Bash) or on Firefox/Linux Mint using sdkman.\r\n\r\nCouldn't find any existing issues or wasn't able to relate any of the existing ones to this problem. But I don't think out of the box these JS errors should happen, or am I missing some steps?"},"comment":{"url":"https://api.github.com/repos/grails/grails-profile-repository/issues/comments/208966128","html_url":"https://github.com/grails/grails-profile-repository/issues/65#issuecomment-208966128","issue_url":"https://api.github.com/repos/grails/grails-profile-repository/issues/65","id":208966128,"user":{"login":"Schlogen","id":1583789,"avatar_url":"https://avatars.githubusercontent.com/u/1583789?v=3","gravatar_id":"","url":"https://api.github.com/users/Schlogen","html_url":"https://github.com/Schlogen","followers_url":"https://api.github.com/users/Schlogen/followers","following_url":"https://api.github.com/users/Schlogen/following{/other_user}","gists_url":"https://api.github.com/users/Schlogen/gists{/gist_id}","starred_url":"https://api.github.com/users/Schlogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schlogen/subscriptions","organizations_url":"https://api.github.com/users/Schlogen/orgs","repos_url":"https://api.github.com/users/Schlogen/repos","events_url":"https://api.github.com/users/Schlogen/events{/privacy}","received_events_url":"https://api.github.com/users/Schlogen/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T15:37:19Z","updated_at":"2016-04-12T15:37:19Z","body":"@tvinke Can you upload an example that reproduces the problem?"}}