{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/28","labels_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/28/comments","events_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/28/events","html_url":"https://github.com/Urigo/meteor-angular-socially/issues/28","id":77109592,"number":28,"title":"directives example using templateUrl","user":{"login":"funkytaco","id":1712205,"avatar_url":"https://avatars.githubusercontent.com/u/1712205?v=3","gravatar_id":"","url":"https://api.github.com/users/funkytaco","html_url":"https://github.com/funkytaco","followers_url":"https://api.github.com/users/funkytaco/followers","following_url":"https://api.github.com/users/funkytaco/following{/other_user}","gists_url":"https://api.github.com/users/funkytaco/gists{/gist_id}","starred_url":"https://api.github.com/users/funkytaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkytaco/subscriptions","organizations_url":"https://api.github.com/users/funkytaco/orgs","repos_url":"https://api.github.com/users/funkytaco/repos","events_url":"https://api.github.com/users/funkytaco/events{/privacy}","received_events_url":"https://api.github.com/users/funkytaco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-16T19:29:31Z","updated_at":"2015-05-17T04:23:06Z","closed_at":null,"body":"How do I keep meteor from turning a templateUrl for a directive into an HTML element. Shouldn't it just work, as long as I don't have an html tag in the directive file?\r\n\r\n    While building the application:\r\n    client/items/directives/myDirective.html:1: bad formatting in HTML template\r\n\r\nI tried renaming it to myDirective.ng.html, and the app renders, but the directive isn't working with `templateUrl`. It works just fine with `template`.\r\n\r\n    .directive('myDirective', function () {\r\n        return {\r\n            //templateUrl: './myDirective.ng.html'\r\n            template: '<ul><li>new directive here works</li></ul>'\r\n        };\r\n    });"},"comment":{"url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/comments/102740419","html_url":"https://github.com/Urigo/meteor-angular-socially/issues/28#issuecomment-102740419","issue_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/28","id":102740419,"user":{"login":"ambujpunn","id":704434,"avatar_url":"https://avatars.githubusercontent.com/u/704434?v=3","gravatar_id":"","url":"https://api.github.com/users/ambujpunn","html_url":"https://github.com/ambujpunn","followers_url":"https://api.github.com/users/ambujpunn/followers","following_url":"https://api.github.com/users/ambujpunn/following{/other_user}","gists_url":"https://api.github.com/users/ambujpunn/gists{/gist_id}","starred_url":"https://api.github.com/users/ambujpunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambujpunn/subscriptions","organizations_url":"https://api.github.com/users/ambujpunn/orgs","repos_url":"https://api.github.com/users/ambujpunn/repos","events_url":"https://api.github.com/users/ambujpunn/events{/privacy}","received_events_url":"https://api.github.com/users/ambujpunn/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T04:23:06Z","updated_at":"2015-05-17T04:23:06Z","body":"@funkytaco that's really funny you ran into that problem, because I'm running into a similar problem but I'm trying to add an ionicModal and using templateUrl to link to a relative path of the Modal but it seems like it cannot find it..hmm I think it largely is because of the structuring of our meteor-angular app. I wonder if such \"items\" or \"custom items\" need to be included in their directory"}}