{"action":"closed","issue":{"url":"https://api.github.com/repos/Stabzs/Angular2-Toaster/issues/38","repository_url":"https://api.github.com/repos/Stabzs/Angular2-Toaster","labels_url":"https://api.github.com/repos/Stabzs/Angular2-Toaster/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/Stabzs/Angular2-Toaster/issues/38/comments","events_url":"https://api.github.com/repos/Stabzs/Angular2-Toaster/issues/38/events","html_url":"https://github.com/Stabzs/Angular2-Toaster/issues/38","id":161970039,"number":38,"title":"import CORE_DIRECTIVES's missing","user":{"login":"yahyaKacem","id":844900,"avatar_url":"https://avatars.githubusercontent.com/u/844900?v=3","gravatar_id":"","url":"https://api.github.com/users/yahyaKacem","html_url":"https://github.com/yahyaKacem","followers_url":"https://api.github.com/users/yahyaKacem/followers","following_url":"https://api.github.com/users/yahyaKacem/following{/other_user}","gists_url":"https://api.github.com/users/yahyaKacem/gists{/gist_id}","starred_url":"https://api.github.com/users/yahyaKacem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahyaKacem/subscriptions","organizations_url":"https://api.github.com/users/yahyaKacem/orgs","repos_url":"https://api.github.com/users/yahyaKacem/repos","events_url":"https://api.github.com/users/yahyaKacem/events{/privacy}","received_events_url":"https://api.github.com/users/yahyaKacem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Stabzs/Angular2-Toaster/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/Stabzs/Angular2-Toaster/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T16:46:18Z","updated_at":"2016-06-24T15:31:35Z","closed_at":"2016-06-24T15:31:35Z","body":"Missing import { Core_Directives } from '@angular/common'; [line 44](https://github.com/Stabzs/Angular2-Toaster/blob/master/src/toast.component.ts#L44)\r\n\r\n```\r\nEXCEPTION: Error: Uncaught (in promise): Template parse errors:\r\nCan't bind to 'ngSwitchCase' since it isn't a known native property (\"ngClass]=\"toast.toasterConfig.messageClass\" [ngSwitch]=\"toast.bodyOutputType\">\r\n                <div [ERROR ->]*ngSwitchCase=\"bodyOutputType.Component\" #componentBody></div>\r\n                <div *ngSwitchCase=\"bo\"): ToastComponent@5:21\r\nProperty binding ngSwitchCase not used by any directive on an embedded template (\"div [ngClass]=\"toast.toasterConfig.messageClass\" [ngSwitch]=\"toast.bodyOutputType\">\r\n                [ERROR ->]<div *ngSwitchCase=\"bodyOutputType.Component\" #componentBody></div>\r\n                <div *ngSwitchCas\"): ToastComponent@5:16\r\nCan't bind to 'ngSwitchCase' since it isn't a known native property (\"           <div *ngSwitchCase=\"bodyOutputType.Component\" #componentBody></div>\r\n                <div [ERROR ->]*ngSwitchCase=\"bodyOutputType.TrustedHtml\" [innerHTML]=\"toast.body\"></div>\r\n                <div *ngSw\"): ToastComponent@6:21\r\nProperty binding ngSwitchCase not used by any directive on an embedded template (\"                <div *ngSwitchCase=\"bodyOutputType.Component\" #componentBody></div>\r\n                [ERROR ->]<div *ngSwitchCase=\"bodyOutputType.TrustedHtml\" [innerHTML]=\"toast.body\"></div>\r\n                <div \"): ToastComponent@6:16\r\nCan't bind to 'ngSwitchCase' since it isn't a known native property (\"div *ngSwitchCase=\"bodyOutputType.TrustedHtml\" [innerHTML]=\"toast.body\"></div>\r\n                <div [ERROR ->]*ngSwitchCase=\"bodyOutputType.Default\">{{toast.body}}</div>\r\n            </div>\r\n        </div>\r\n\"): ToastComponent@7:21\r\nProperty binding ngSwitchCase not used by any directive on an embedded template (\"    <div *ngSwitchCase=\"bodyOutputType.TrustedHtml\" [innerHTML]=\"toast.body\"></div>\r\n                [ERROR ->]<div *ngSwitchCase=\"bodyOutputType.Default\">{{toast.body}}</div>\r\n            </div>\r\n        </div>\r\n\"): ToastComponent@7:16\r\n```"}}
{"actor":{"display_login":"Stabzs"}}