{"action":"created","issue":{"url":"https://api.github.com/repos/allenhwkim/angular-jsdoc/issues/44","labels_url":"https://api.github.com/repos/allenhwkim/angular-jsdoc/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/allenhwkim/angular-jsdoc/issues/44/comments","events_url":"https://api.github.com/repos/allenhwkim/angular-jsdoc/issues/44/events","html_url":"https://github.com/allenhwkim/angular-jsdoc/issues/44","id":122397582,"number":44,"title":"Factory/service properties (how to)","user":{"login":"coryasilva","id":2672972,"avatar_url":"https://avatars.githubusercontent.com/u/2672972?v=3","gravatar_id":"","url":"https://api.github.com/users/coryasilva","html_url":"https://github.com/coryasilva","followers_url":"https://api.github.com/users/coryasilva/followers","following_url":"https://api.github.com/users/coryasilva/following{/other_user}","gists_url":"https://api.github.com/users/coryasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/coryasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryasilva/subscriptions","organizations_url":"https://api.github.com/users/coryasilva/orgs","repos_url":"https://api.github.com/users/coryasilva/repos","events_url":"https://api.github.com/users/coryasilva/events{/privacy}","received_events_url":"https://api.github.com/users/coryasilva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-16T00:09:59Z","updated_at":"2015-12-16T13:38:30Z","closed_at":null,"body":"Hello, I am having trouble documenting some mutable properties on a service.\r\n\r\nIn the example below how would I document `obj` and `bool`.  I am a little new to jsdocs but and I have tried using `@member`, `@memberof!`, and `@property` to no avail.\r\n\r\n    /**\r\n     * @memberof app\r\n     * @ngdoc service\r\n     * @name appService\r\n     * @param {service} $http A core Angular service that facilitates communication with remote HTTP servers\r\n     * @description\r\n     *   Provides methods and stuff\r\n     */\r\n    angular.module('app')\r\n        .factory('appService', function ($http) {\r\n            var obj = {\r\n                a: 'b'\r\n            };\r\n            var bool = true;\r\n            var service = {\r\n                obj: obj,\r\n                bool : bool ,\r\n                query: query\r\n            };\r\n            return service;\r\n            /**\r\n             * Query Stuff\r\n             * @memberof appService\r\n             * @param {string} id The `id` of the thing\r\n             * @return {Promise}\r\n             */\r\n            function query(id) {\r\n                if (!bool) { return; }\r\n                return $http.get(obj.a + id);\r\n            }\r\n        })\r\n    ;\r\n\r\nPS Thanks for opening this package to all of us."},"comment":{"url":"https://api.github.com/repos/allenhwkim/angular-jsdoc/issues/comments/165108152","html_url":"https://github.com/allenhwkim/angular-jsdoc/issues/44#issuecomment-165108152","issue_url":"https://api.github.com/repos/allenhwkim/angular-jsdoc/issues/44","id":165108152,"user":{"login":"allenhwkim","id":1437734,"avatar_url":"https://avatars.githubusercontent.com/u/1437734?v=3","gravatar_id":"","url":"https://api.github.com/users/allenhwkim","html_url":"https://github.com/allenhwkim","followers_url":"https://api.github.com/users/allenhwkim/followers","following_url":"https://api.github.com/users/allenhwkim/following{/other_user}","gists_url":"https://api.github.com/users/allenhwkim/gists{/gist_id}","starred_url":"https://api.github.com/users/allenhwkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenhwkim/subscriptions","organizations_url":"https://api.github.com/users/allenhwkim/orgs","repos_url":"https://api.github.com/users/allenhwkim/repos","events_url":"https://api.github.com/users/allenhwkim/events{/privacy}","received_events_url":"https://api.github.com/users/allenhwkim/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T13:38:30Z","updated_at":"2015-12-16T13:38:30Z","body":"1.3.2 is updated with this change. Please checkout the sample codes, especially testService."}}