{"action":"created","issue":{"url":"https://api.github.com/repos/justindujardin/ng2-material/issues/38","repository_url":"https://api.github.com/repos/justindujardin/ng2-material","labels_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/38/comments","events_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/38/events","html_url":"https://github.com/justindujardin/ng2-material/issues/38","id":130678659,"number":38,"title":"No Directive annotation found on MdAnchor","user":{"login":"gstrit","id":6368545,"avatar_url":"https://avatars.githubusercontent.com/u/6368545?v=3","gravatar_id":"","url":"https://api.github.com/users/gstrit","html_url":"https://github.com/gstrit","followers_url":"https://api.github.com/users/gstrit/followers","following_url":"https://api.github.com/users/gstrit/following{/other_user}","gists_url":"https://api.github.com/users/gstrit/gists{/gist_id}","starred_url":"https://api.github.com/users/gstrit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstrit/subscriptions","organizations_url":"https://api.github.com/users/gstrit/orgs","repos_url":"https://api.github.com/users/gstrit/repos","events_url":"https://api.github.com/users/gstrit/events{/privacy}","received_events_url":"https://api.github.com/users/gstrit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2016-02-02T13:06:51Z","updated_at":"2016-02-19T08:10:49Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to integrate ng2-material to my project but I have this error message : \r\nEXCEPTION: No Directive annotation found on MdAnchor\r\n\r\n\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/justindujardin/ng2-material/issues/comments/186111609","html_url":"https://github.com/justindujardin/ng2-material/issues/38#issuecomment-186111609","issue_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/38","id":186111609,"user":{"login":"schippie","id":3273412,"avatar_url":"https://avatars.githubusercontent.com/u/3273412?v=3","gravatar_id":"","url":"https://api.github.com/users/schippie","html_url":"https://github.com/schippie","followers_url":"https://api.github.com/users/schippie/followers","following_url":"https://api.github.com/users/schippie/following{/other_user}","gists_url":"https://api.github.com/users/schippie/gists{/gist_id}","starred_url":"https://api.github.com/users/schippie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schippie/subscriptions","organizations_url":"https://api.github.com/users/schippie/orgs","repos_url":"https://api.github.com/users/schippie/repos","events_url":"https://api.github.com/users/schippie/events{/privacy}","received_events_url":"https://api.github.com/users/schippie/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T08:10:48Z","updated_at":"2016-02-19T08:10:48Z","body":"@dsmrs @ollwenjones Based on help from gitter we did manage to figure out how to get it work by copying over the source directory into your own project. This fixes the bugs i was having as well.\r\n\r\nThough when trying to use the source folder directly through:\r\n\r\nng2-material/source/all (for example) \r\n\r\nIt still throws the same exception. It almost seems as if there are 2 different injectors which cause the services not to be available to the directives (when you use the ng2-material/source/all). "}}