{"action":"created","issue":{"url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/46","repository_url":"https://api.github.com/repos/angular-slider/ng5-slider","labels_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/46/comments","events_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/46/events","html_url":"https://github.com/angular-slider/ng5-slider/issues/46","id":388412091,"node_id":"MDU6SXNzdWUzODg0MTIwOTE=","number":46,"title":"Ability to have a custom slider template","user":{"login":"sjyn","id":9970660,"node_id":"MDQ6VXNlcjk5NzA2NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/9970660?v=4","gravatar_id":"","url":"https://api.github.com/users/sjyn","html_url":"https://github.com/sjyn","followers_url":"https://api.github.com/users/sjyn/followers","following_url":"https://api.github.com/users/sjyn/following{/other_user}","gists_url":"https://api.github.com/users/sjyn/gists{/gist_id}","starred_url":"https://api.github.com/users/sjyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjyn/subscriptions","organizations_url":"https://api.github.com/users/sjyn/orgs","repos_url":"https://api.github.com/users/sjyn/repos","events_url":"https://api.github.com/users/sjyn/events{/privacy}","received_events_url":"https://api.github.com/users/sjyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-06T21:47:21Z","updated_at":"2018-12-07T09:15:41Z","closed_at":null,"author_association":"NONE","body":"In the AngularJS library that this library is based on, there was a way to set a custom template on the slider via an `rz-slider-tpl-url` directive.\r\n\r\n```html\r\n<rzslider ...\r\n  rz-slider-tpl-url=\"path/to/template.html\">\r\n```\r\n\r\nIs there a way to do this in this library/is this a planned feature for this library? The documentation doesn't seem to say anything about this functionality."},"comment":{"url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/comments/445170348","html_url":"https://github.com/angular-slider/ng5-slider/issues/46#issuecomment-445170348","issue_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/46","id":445170348,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTE3MDM0OA==","user":{"login":"piotrdz","id":1151708,"node_id":"MDQ6VXNlcjExNTE3MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1151708?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrdz","html_url":"https://github.com/piotrdz","followers_url":"https://api.github.com/users/piotrdz/followers","following_url":"https://api.github.com/users/piotrdz/following{/other_user}","gists_url":"https://api.github.com/users/piotrdz/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrdz/subscriptions","organizations_url":"https://api.github.com/users/piotrdz/orgs","repos_url":"https://api.github.com/users/piotrdz/repos","events_url":"https://api.github.com/users/piotrdz/events{/privacy}","received_events_url":"https://api.github.com/users/piotrdz/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T09:15:41Z","updated_at":"2018-12-07T09:15:41Z","author_association":"MEMBER","body":"No, sorry, I have no plans to support custom templates in Angular 5+.\r\n\r\nUnlike angularjs, Angular 5+ requires each component to have a static template, able to be resolved at compile time.\r\n\r\nWhile there are some workarounds that could be applied, like transcluding user-specified content, the problem is that managing code like this very quickly becomes borderline insane. I already went through something similar to support custom tooltips. This was to get rid of dependency on ng-bootstrap, and that's about as far as I'm willing to go."}}
{"actor":{"display_login":"piotrdz"}}