{"action":"created","issue":{"url":"https://api.github.com/repos/DaftMonk/generator-angular-fullstack/issues/893","labels_url":"https://api.github.com/repos/DaftMonk/generator-angular-fullstack/issues/893/labels{/name}","comments_url":"https://api.github.com/repos/DaftMonk/generator-angular-fullstack/issues/893/comments","events_url":"https://api.github.com/repos/DaftMonk/generator-angular-fullstack/issues/893/events","html_url":"https://github.com/DaftMonk/generator-angular-fullstack/issues/893","id":62466489,"number":893,"title":"angular-fullstack command for factory generator still generates a service","user":{"login":"asheeshv","id":4442320,"avatar_url":"https://avatars.githubusercontent.com/u/4442320?v=3","gravatar_id":"","url":"https://api.github.com/users/asheeshv","html_url":"https://github.com/asheeshv","followers_url":"https://api.github.com/users/asheeshv/followers","following_url":"https://api.github.com/users/asheeshv/following{/other_user}","gists_url":"https://api.github.com/users/asheeshv/gists{/gist_id}","starred_url":"https://api.github.com/users/asheeshv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheeshv/subscriptions","organizations_url":"https://api.github.com/users/asheeshv/orgs","repos_url":"https://api.github.com/users/asheeshv/repos","events_url":"https://api.github.com/users/asheeshv/events{/privacy}","received_events_url":"https://api.github.com/users/asheeshv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T17:36:29Z","updated_at":"2015-04-28T08:24:59Z","closed_at":"2015-03-17T19:14:39Z","body":"Hello there,\r\n\r\nI'd like to congratulate you for a wonderful piece of work which has provided me an out of the box framework to work with. However, I've been running into issues trying to use its factory generator. When I invoke the command you angular-fullstack:factory sampleFactory. The resulting output is still a service, where as I was expecting a factory created instead. I wanted to check if there's a different way to invoke the factory generators. Also, If I run the above command without providing the factory name argument, I get an error in events.js stating unhandled 'error' event. Please let me know as to what's the correct way to create a generator based factory?.\r\n\r\nMany thanks!\r\nAsheesh"},"comment":{"url":"https://api.github.com/repos/DaftMonk/generator-angular-fullstack/issues/comments/96971515","html_url":"https://github.com/DaftMonk/generator-angular-fullstack/issues/893#issuecomment-96971515","issue_url":"https://api.github.com/repos/DaftMonk/generator-angular-fullstack/issues/893","id":96971515,"user":{"login":"LunarDevelopment","id":10709555,"avatar_url":"https://avatars.githubusercontent.com/u/10709555?v=3","gravatar_id":"","url":"https://api.github.com/users/LunarDevelopment","html_url":"https://github.com/LunarDevelopment","followers_url":"https://api.github.com/users/LunarDevelopment/followers","following_url":"https://api.github.com/users/LunarDevelopment/following{/other_user}","gists_url":"https://api.github.com/users/LunarDevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/LunarDevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LunarDevelopment/subscriptions","organizations_url":"https://api.github.com/users/LunarDevelopment/orgs","repos_url":"https://api.github.com/users/LunarDevelopment/repos","events_url":"https://api.github.com/users/LunarDevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/LunarDevelopment/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T08:24:59Z","updated_at":"2015-04-28T08:24:59Z","body":"Hello! \r\n\r\nI'm new to Yo and I'm having a similar issue, when I run:factory <name> I get a file named <name>.service.coffee (as I'm using coffeescript) \r\n\r\nInside the file is a .factory (which is what I want of course), \r\n\r\nIs this as it should be or do I have this \"perforce\" running somewhere in my directory? (when I run a file search for \"perforce\" I find nothing however) \r\n\r\nLewis \r\n\r\n"}}