{"action":"created","issue":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/583","repository_url":"https://api.github.com/repos/valor-software/ng2-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/583/comments","events_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/583/events","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/583","id":158642817,"number":583,"title":"undefined directives","user":{"login":"AndreyKotofotoff","id":15908484,"avatar_url":"https://avatars.githubusercontent.com/u/15908484?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreyKotofotoff","html_url":"https://github.com/AndreyKotofotoff","followers_url":"https://api.github.com/users/AndreyKotofotoff/followers","following_url":"https://api.github.com/users/AndreyKotofotoff/following{/other_user}","gists_url":"https://api.github.com/users/AndreyKotofotoff/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyKotofotoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyKotofotoff/subscriptions","organizations_url":"https://api.github.com/users/AndreyKotofotoff/orgs","repos_url":"https://api.github.com/users/AndreyKotofotoff/repos","events_url":"https://api.github.com/users/AndreyKotofotoff/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyKotofotoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-06T10:06:06Z","updated_at":"2016-06-09T23:19:20Z","closed_at":null,"body":"Hello!\r\n\r\nError: Uncaught (in promise): Unexpected directive value 'undefined' on the View of component\r\n\r\nindex.ts\r\n```\r\nimport {BS_VIEW_PROVIDERS, CollapseDirective} from \"ng2-bootstrap/ng2-bootstrap\";\r\n\r\nconsole.log(BS_VIEW_PROVIDERS, CollapseDirective); //undefined undefined\r\n...\r\n@Component({\r\n  directives: [CORE_DIRECTIVES, CollapseDirective],\r\n viewProviders:[BS_VIEW_PROVIDERS]\r\n...\r\n})\r\n```\r\n\r\nUse: \r\ncopy ./node_modules/ng2-bootstrap/bundles/ng2-bootstrap.min.js to ./wwwroot/js/ng2-bootstrap.min.js\r\n\r\n_layout.cshtml\r\n```\r\n<script src=\"~/js/ng2-bootstrap.min.js\"></script>\r\nSystem.config({\r\n  packages: {\r\n    '/js': {\r\n      defaultExtension: 'js',\r\n      format: 'register'\r\n    },\r\n  },\r\n  map: {\r\n    'ng2-bootstrap/ng2-bootstrap': '/js/ng2-bootstrap.min'\r\n  }\r\n})\r\n```\r\n\r\nwhat i'm doing wrong?\r\n\r\n```\r\nangular2: 2.0.0-rc.1\r\nng2-bootstrap: 1.0.17\r\n```"},"comment":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/comments/225054976","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/583#issuecomment-225054976","issue_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/583","id":225054976,"user":{"login":"tchoulihan","id":930215,"avatar_url":"https://avatars.githubusercontent.com/u/930215?v=3","gravatar_id":"","url":"https://api.github.com/users/tchoulihan","html_url":"https://github.com/tchoulihan","followers_url":"https://api.github.com/users/tchoulihan/followers","following_url":"https://api.github.com/users/tchoulihan/following{/other_user}","gists_url":"https://api.github.com/users/tchoulihan/gists{/gist_id}","starred_url":"https://api.github.com/users/tchoulihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchoulihan/subscriptions","organizations_url":"https://api.github.com/users/tchoulihan/orgs","repos_url":"https://api.github.com/users/tchoulihan/repos","events_url":"https://api.github.com/users/tchoulihan/events{/privacy}","received_events_url":"https://api.github.com/users/tchoulihan/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T23:19:20Z","updated_at":"2016-06-09T23:19:20Z","body":"Same issue here. Everything is undefined."}}
{"actor":{"display_login":"tchoulihan"}}