{"action":"created","issue":{"url":"https://api.github.com/repos/pbastowski/angular2-now/issues/26","labels_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/26/comments","events_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/26/events","html_url":"https://github.com/pbastowski/angular2-now/issues/26","id":116922155,"number":26,"title":"using angular2-now in a meteor package results in \"_angular2now is undefined\" error","user":{"login":"thomaskoren","id":4079131,"avatar_url":"https://avatars.githubusercontent.com/u/4079131?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaskoren","html_url":"https://github.com/thomaskoren","followers_url":"https://api.github.com/users/thomaskoren/followers","following_url":"https://api.github.com/users/thomaskoren/following{/other_user}","gists_url":"https://api.github.com/users/thomaskoren/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaskoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaskoren/subscriptions","organizations_url":"https://api.github.com/users/thomaskoren/orgs","repos_url":"https://api.github.com/users/thomaskoren/repos","events_url":"https://api.github.com/users/thomaskoren/events{/privacy}","received_events_url":"https://api.github.com/users/thomaskoren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-14T12:27:17Z","updated_at":"2015-11-18T18:40:47Z","closed_at":"2015-11-18T18:40:47Z","body":"given a project setup with the following structure\r\n```\r\ncommon-base-package -> client-package -> meteor-app\r\n```\r\n\r\ncommon-base-package introduces angular2-now (and others) in packages.js:\r\n```\r\n...\r\napi.imply('pbastowski:angular2-now');\r\napi.imply('pbastowski:ecmascript-extras');\r\napi.imply('pbastowski:require');\r\n...\r\n```\r\n\r\nwhen importing from angular2-now in client-package: e.g.\r\n```\r\nimport {SetModule} from \"angular2now\";\r\n```\r\n\r\nand trying to start the app, the following error is shown:\r\n```\r\nTypeError: _angular2now is undefined\r\n```\r\n\r\neverything works just fine when angular2-now is used from inside a meteor app context. \r\n"},"comment":{"url":"https://api.github.com/repos/pbastowski/angular2-now/issues/comments/157815047","html_url":"https://github.com/pbastowski/angular2-now/issues/26#issuecomment-157815047","issue_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/26","id":157815047,"user":{"login":"pbastowski","id":5649024,"avatar_url":"https://avatars.githubusercontent.com/u/5649024?v=3","gravatar_id":"","url":"https://api.github.com/users/pbastowski","html_url":"https://github.com/pbastowski","followers_url":"https://api.github.com/users/pbastowski/followers","following_url":"https://api.github.com/users/pbastowski/following{/other_user}","gists_url":"https://api.github.com/users/pbastowski/gists{/gist_id}","starred_url":"https://api.github.com/users/pbastowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbastowski/subscriptions","organizations_url":"https://api.github.com/users/pbastowski/orgs","repos_url":"https://api.github.com/users/pbastowski/repos","events_url":"https://api.github.com/users/pbastowski/events{/privacy}","received_events_url":"https://api.github.com/users/pbastowski/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T18:40:47Z","updated_at":"2015-11-18T18:40:47Z","body":"Under the assumption that it's now working for you, I'm closing this issue. If it doesn't work then let me know."}}