{"action":"closed","issue":{"url":"https://api.github.com/repos/wzr1337/angular-gestures/issues/37","labels_url":"https://api.github.com/repos/wzr1337/angular-gestures/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/wzr1337/angular-gestures/issues/37/comments","events_url":"https://api.github.com/repos/wzr1337/angular-gestures/issues/37/events","html_url":"https://github.com/wzr1337/angular-gestures/issues/37","id":64071950,"number":37,"title":"Add the template path to the toastrConfig constant","user":{"login":"robertsoniv","id":4377246,"avatar_url":"https://avatars.githubusercontent.com/u/4377246?v=3","gravatar_id":"","url":"https://api.github.com/users/robertsoniv","html_url":"https://github.com/robertsoniv","followers_url":"https://api.github.com/users/robertsoniv/followers","following_url":"https://api.github.com/users/robertsoniv/following{/other_user}","gists_url":"https://api.github.com/users/robertsoniv/gists{/gist_id}","starred_url":"https://api.github.com/users/robertsoniv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertsoniv/subscriptions","organizations_url":"https://api.github.com/users/robertsoniv/orgs","repos_url":"https://api.github.com/users/robertsoniv/repos","events_url":"https://api.github.com/users/robertsoniv/events{/privacy}","received_events_url":"https://api.github.com/users/robertsoniv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-24T18:51:38Z","updated_at":"2015-03-24T18:52:44Z","closed_at":"2015-03-24T18:52:44Z","body":"It would be really nice if the template path were configurable rather than hard coded.  I use an html2js build process that puts templates in the $templateCache based on directory structure.  While using .run to add my custom template to the hard coded location works; I'd like my \"alerts\" module directory  to have an alerts.tpl.html file that gets swallowed up by my build process and then is recognizable by angular-toastr through something like this\r\n```\r\nangular.extend(toastrConfig, { templatePath:'alerts/alerts.tpl.html'})\r\n```"}}