{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/10846","labels_url":"https://api.github.com/repos/angular/angular.js/issues/10846/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/10846/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/10846/events","html_url":"https://github.com/angular/angular.js/issues/10846","id":55292299,"number":10846,"title":"feat(ngMessages): allow using template tags for included messages","user":{"login":"PascalPrecht","id":445106,"avatar_url":"https://avatars.githubusercontent.com/u/445106?v=3","gravatar_id":"","url":"https://api.github.com/users/PascalPrecht","html_url":"https://github.com/PascalPrecht","followers_url":"https://api.github.com/users/PascalPrecht/followers","following_url":"https://api.github.com/users/PascalPrecht/following{/other_user}","gists_url":"https://api.github.com/users/PascalPrecht/gists{/gist_id}","starred_url":"https://api.github.com/users/PascalPrecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PascalPrecht/subscriptions","organizations_url":"https://api.github.com/users/PascalPrecht/orgs","repos_url":"https://api.github.com/users/PascalPrecht/repos","events_url":"https://api.github.com/users/PascalPrecht/events{/privacy}","received_events_url":"https://api.github.com/users/PascalPrecht/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/1.5-candidate","name":"1.5-candidate","color":"207de5"},{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20ngMessages","name":"component: ngMessages","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular.js/labels/frequency:%20low","name":"frequency: low","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20feature","name":"type: feature","color":"00a606"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/27","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/27/labels","id":489171,"number":27,"title":"Backlog","description":"Holds the backlog of issues and pull requests that have been triaged.\r\n\r\nBefore assigning items to this milestone they should be labelled, at the very least with the correct \"type\" label (i.e. \"issue\", \"pr\", \"bug\", \"regression\", \"chore\", \"docs\", etc).  Preferably you should also check for duplicate issues/PRs, note CLA status and assign \"complexity\" and \"impact\" labels too.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":726,"closed_issues":747,"state":"open","created_at":"2013-11-18T23:30:35Z","updated_at":"2015-02-11T19:19:35Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-01-23T15:13:21Z","updated_at":"2015-02-11T19:19:35Z","closed_at":"2015-02-11T19:19:35Z","body":"Since we're able to predefine messages in `<script>` tags and include them at later time at different places using `ng-messages-include` (more detail here: https://github.com/angular/angular.js/issues/10844), wouldn't it be cool to also being able to use `<template>` tags instead of only hacky `<script type=\"text/ng-template\">` tags? Because, this is what they are designed for. Templates.\r\n\r\nIn order to clone the contents of a `<template>` we just need to access it's `content` property, so it shouldn't be too hard to implement it.\r\n\r\nWdyt?\r\n\r\n(also, Angular 1.x would then have official support for some Web Components technology then :))"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/73945226","html_url":"https://github.com/angular/angular.js/issues/10846#issuecomment-73945226","issue_url":"https://api.github.com/repos/angular/angular.js/issues/10846","id":73945226,"user":{"login":"matsko","id":93018,"avatar_url":"https://avatars.githubusercontent.com/u/93018?v=3","gravatar_id":"","url":"https://api.github.com/users/matsko","html_url":"https://github.com/matsko","followers_url":"https://api.github.com/users/matsko/followers","following_url":"https://api.github.com/users/matsko/following{/other_user}","gists_url":"https://api.github.com/users/matsko/gists{/gist_id}","starred_url":"https://api.github.com/users/matsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsko/subscriptions","organizations_url":"https://api.github.com/users/matsko/orgs","repos_url":"https://api.github.com/users/matsko/repos","events_url":"https://api.github.com/users/matsko/events{/privacy}","received_events_url":"https://api.github.com/users/matsko/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T19:19:35Z","updated_at":"2015-02-11T19:19:35Z","body":"This won't be going into 1.x. Please make a comment inside `angular/angular` for it to go into 2.0."}}