{"action":"created","issue":{"url":"https://api.github.com/repos/bessemHmidi/AngularBeans/issues/41","repository_url":"https://api.github.com/repos/bessemHmidi/AngularBeans","labels_url":"https://api.github.com/repos/bessemHmidi/AngularBeans/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/bessemHmidi/AngularBeans/issues/41/comments","events_url":"https://api.github.com/repos/bessemHmidi/AngularBeans/issues/41/events","html_url":"https://github.com/bessemHmidi/AngularBeans/pull/41","id":145431749,"number":41,"title":"Implemented factory around StaticJsCache.","user":{"login":"anaili","id":3980560,"avatar_url":"https://avatars.githubusercontent.com/u/3980560?v=3","gravatar_id":"","url":"https://api.github.com/users/anaili","html_url":"https://github.com/anaili","followers_url":"https://api.github.com/users/anaili/followers","following_url":"https://api.github.com/users/anaili/following{/other_user}","gists_url":"https://api.github.com/users/anaili/gists{/gist_id}","starred_url":"https://api.github.com/users/anaili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaili/subscriptions","organizations_url":"https://api.github.com/users/anaili/orgs","repos_url":"https://api.github.com/users/anaili/repos","events_url":"https://api.github.com/users/anaili/events{/privacy}","received_events_url":"https://api.github.com/users/anaili/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-02T23:46:24Z","updated_at":"2016-04-04T02:42:54Z","closed_at":"2016-04-02T23:48:31Z","pull_request":{"url":"https://api.github.com/repos/bessemHmidi/AngularBeans/pulls/41","html_url":"https://github.com/bessemHmidi/AngularBeans/pull/41","diff_url":"https://github.com/bessemHmidi/AngularBeans/pull/41.diff","patch_url":"https://github.com/bessemHmidi/AngularBeans/pull/41.patch"},"body":"Created a factory pattern for static javascript cache generation with some code cleanup and optimization.\r\n\r\n- Package angularbean.js renamed to angularbeans.js.cache\r\n- The ServletContextListener is no more responsible of js cache generation.\r\n- FileLoader moved from angularbeans.js to angularbeans.util"},"comment":{"url":"https://api.github.com/repos/bessemHmidi/AngularBeans/issues/comments/205108088","html_url":"https://github.com/bessemHmidi/AngularBeans/pull/41#issuecomment-205108088","issue_url":"https://api.github.com/repos/bessemHmidi/AngularBeans/issues/41","id":205108088,"user":{"login":"anaili","id":3980560,"avatar_url":"https://avatars.githubusercontent.com/u/3980560?v=3","gravatar_id":"","url":"https://api.github.com/users/anaili","html_url":"https://github.com/anaili","followers_url":"https://api.github.com/users/anaili/followers","following_url":"https://api.github.com/users/anaili/following{/other_user}","gists_url":"https://api.github.com/users/anaili/gists{/gist_id}","starred_url":"https://api.github.com/users/anaili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaili/subscriptions","organizations_url":"https://api.github.com/users/anaili/orgs","repos_url":"https://api.github.com/users/anaili/repos","events_url":"https://api.github.com/users/anaili/events{/privacy}","received_events_url":"https://api.github.com/users/anaili/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T02:42:54Z","updated_at":"2016-04-04T02:42:54Z","body":"Actually, `getAppName()` returns the ngApp attribute's value which is mandatory in script generation because it has to be injected in 'app' module. The question now is, why we don't let the user implement the @NGApp annotated class ? Maybe @bessemHmidi has an explanation for this. About `BuildStaticJsCache`, I'm working on a different way to instantiate the `StaticJsCacheLoader`."}}