{"action":"closed","issue":{"url":"https://api.github.com/repos/yeoman/generator-angular/issues/1305","repository_url":"https://api.github.com/repos/yeoman/generator-angular","labels_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1305/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1305/comments","events_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1305/events","html_url":"https://github.com/yeoman/generator-angular/issues/1305","id":144239987,"number":1305,"title":"yo angular-fullstack endpoint issue","user":{"login":"syndrom95","id":17579416,"avatar_url":"https://avatars.githubusercontent.com/u/17579416?v=3","gravatar_id":"","url":"https://api.github.com/users/syndrom95","html_url":"https://github.com/syndrom95","followers_url":"https://api.github.com/users/syndrom95/followers","following_url":"https://api.github.com/users/syndrom95/following{/other_user}","gists_url":"https://api.github.com/users/syndrom95/gists{/gist_id}","starred_url":"https://api.github.com/users/syndrom95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syndrom95/subscriptions","organizations_url":"https://api.github.com/users/syndrom95/orgs","repos_url":"https://api.github.com/users/syndrom95/repos","events_url":"https://api.github.com/users/syndrom95/events{/privacy}","received_events_url":"https://api.github.com/users/syndrom95/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T11:55:14Z","updated_at":"2016-03-29T17:08:02Z","closed_at":"2016-03-29T17:08:02Z","body":"Hello there, I'm fairly new with yeoman so the probability is I've done something wrong so I'm having troubles.\r\n\r\nProblem:\r\n\r\nI set up my project and it worked since I haven't done anything as of yet. Then I went to install yo angular-fullstack:endpoint travels and it created new files at it should, but then when I ran grunt serve I get this error : \r\n\r\n````\r\nC:\\Users\\HP\\Desktop\\og2\\starter-project\\server\\api\\travel\\travel.controller.js:9\r\nexport function index(req, res) {\r\n^^^^^^\r\n\r\nSyntaxError: Unexpected reserved word\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:373:25)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (C:\\Users\\HP\\Desktop\\og2\\starter-project\\server\\api\\travel\\index.js:4:18)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at module.exports (C:\\Users\\HP\\Desktop\\og2\\starter-project\\server\\routes.js:13:27)\r\n    at Object.<anonymous> (C:\\Users\\HP\\Desktop\\og2\\starter-project\\server\\app.js:28:20)\r\n```\r\n`\r\n\r\nCan anyone help me resolve this, or what the issue is? "}}