{"action":"closed","issue":{"url":"https://api.github.com/repos/majgis/ngify/issues/23","labels_url":"https://api.github.com/repos/majgis/ngify/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/majgis/ngify/issues/23/comments","events_url":"https://api.github.com/repos/majgis/ngify/issues/23/events","html_url":"https://github.com/majgis/ngify/issues/23","id":86441083,"number":23,"title":"require('./template.html') should return the path registered with $templateCache","user":{"login":"majgis","id":546259,"avatar_url":"https://avatars.githubusercontent.com/u/546259?v=3","gravatar_id":"","url":"https://api.github.com/users/majgis","html_url":"https://github.com/majgis","followers_url":"https://api.github.com/users/majgis/followers","following_url":"https://api.github.com/users/majgis/following{/other_user}","gists_url":"https://api.github.com/users/majgis/gists{/gist_id}","starred_url":"https://api.github.com/users/majgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majgis/subscriptions","organizations_url":"https://api.github.com/users/majgis/orgs","repos_url":"https://api.github.com/users/majgis/repos","events_url":"https://api.github.com/users/majgis/events{/privacy}","received_events_url":"https://api.github.com/users/majgis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-09T04:24:15Z","updated_at":"2015-10-01T13:36:13Z","closed_at":"2015-10-01T13:36:13Z","body":"The following should work:\r\n\r\n```\r\napp.directive('test1', function (){\r\n    return {\r\n        templateUrl: require('./test3.html') // this returns a string 'test3.html'\r\n}});\r\n```\r\n"}}