{"action":"created","issue":{"url":"https://api.github.com/repos/peoplewareDo/nativescript-svg/issues/7","repository_url":"https://api.github.com/repos/peoplewareDo/nativescript-svg","labels_url":"https://api.github.com/repos/peoplewareDo/nativescript-svg/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/peoplewareDo/nativescript-svg/issues/7/comments","events_url":"https://api.github.com/repos/peoplewareDo/nativescript-svg/issues/7/events","html_url":"https://github.com/peoplewareDo/nativescript-svg/issues/7","id":196439956,"number":7,"title":"Using this plugin with Angular flavor of nativescript","user":{"login":"danielgek","id":911198,"avatar_url":"https://avatars.githubusercontent.com/u/911198?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgek","html_url":"https://github.com/danielgek","followers_url":"https://api.github.com/users/danielgek/followers","following_url":"https://api.github.com/users/danielgek/following{/other_user}","gists_url":"https://api.github.com/users/danielgek/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgek/subscriptions","organizations_url":"https://api.github.com/users/danielgek/orgs","repos_url":"https://api.github.com/users/danielgek/repos","events_url":"https://api.github.com/users/danielgek/events{/privacy}","received_events_url":"https://api.github.com/users/danielgek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-19T15:23:37Z","updated_at":"2016-12-27T14:30:47Z","closed_at":null,"body":"Hi i'm trying to use this plugin with angular flavor of nativescript, but unfortunately it doesn't work.\r\n\r\nthis is how i imported the SVGImage:\r\n\r\n```typescript\r\nimport { registerElement } from \"nativescript-angular/element-registry\";\r\nregisterElement(\"SvgImage\", () => require(\"nativescript-svg\").SVGImage);\r\n```\r\nerror trace: \r\n```\r\nEXCEPTION: Uncaught (in promise): Error: Error in ...page.component.html:11:3 caused by: Could not load view for: SvgImage.TypeError: Cannot read property 'id' of undefined\r\nORIGINAL STACKTRACE:\r\nError: Uncaught (in promise): Error: Error in ...page.component.html:11:3 caused by: Could not load view for: SvgImage.TypeError: Cannot read property 'id' of undefined\r\n\r\n```\r\n\r\nif i have some time i will try to understand the error and make a PR, but i can't right now"},"comment":{"url":"https://api.github.com/repos/peoplewareDo/nativescript-svg/issues/comments/269333174","html_url":"https://github.com/peoplewareDo/nativescript-svg/issues/7#issuecomment-269333174","issue_url":"https://api.github.com/repos/peoplewareDo/nativescript-svg/issues/7","id":269333174,"user":{"login":"danielgek","id":911198,"avatar_url":"https://avatars.githubusercontent.com/u/911198?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgek","html_url":"https://github.com/danielgek","followers_url":"https://api.github.com/users/danielgek/followers","following_url":"https://api.github.com/users/danielgek/following{/other_user}","gists_url":"https://api.github.com/users/danielgek/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgek/subscriptions","organizations_url":"https://api.github.com/users/danielgek/orgs","repos_url":"https://api.github.com/users/danielgek/repos","events_url":"https://api.github.com/users/danielgek/events{/privacy}","received_events_url":"https://api.github.com/users/danielgek/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T14:30:47Z","updated_at":"2016-12-27T14:30:47Z","body":"@dvdbrk i think it doesn't, the native libs are outdated afaik"}}
{"actor":{"display_login":"danielgek"}}