{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/8540","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/8540/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/8540/comments","events_url":"https://api.github.com/repos/angular/angular/issues/8540/events","html_url":"https://github.com/angular/angular/issues/8540","id":153680615,"number":8540,"title":"Feature: Make asterisk syntax sugar more logical for structural directives","user":{"login":"mavericken","id":7833752,"avatar_url":"https://avatars.githubusercontent.com/u/7833752?v=3","gravatar_id":"","url":"https://api.github.com/users/mavericken","html_url":"https://github.com/mavericken","followers_url":"https://api.github.com/users/mavericken/followers","following_url":"https://api.github.com/users/mavericken/following{/other_user}","gists_url":"https://api.github.com/users/mavericken/gists{/gist_id}","starred_url":"https://api.github.com/users/mavericken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavericken/subscriptions","organizations_url":"https://api.github.com/users/mavericken/orgs","repos_url":"https://api.github.com/users/mavericken/repos","events_url":"https://api.github.com/users/mavericken/events{/privacy}","received_events_url":"https://api.github.com/users/mavericken/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-08T22:18:27Z","updated_at":"2016-05-09T04:56:12Z","closed_at":"2016-05-09T04:56:12Z","body":"Basically, I feel that the asterisk syntax sugar implementation is the logical inverse of ideal syntax.\r\n\r\nI was reading about it here: https://angular.io/docs/ts/latest/guide/structural-directives.html\r\nI stumbled upon this bit right here:\r\n\r\n```\r\n<!-- Examples (A) and (B) are the same -->\r\n\r\n<!-- (A) *ngFor div -->\r\n<div *ngFor=\"let hero of heroes\">{{ hero }}</div>\r\n\r\n<!-- (B) ngFor with template -->\r\n<template ngFor let-hero [ngForOf]=\"heroes\">\r\n  <div>{{ hero }}</div>\r\n</template>\r\n```\r\n\r\nExample (A) is supposed to be more convenient than Example (B)...  and it is.\r\nHowever, why not make the more convenient version even more convenient, and reverse the asterisk usage?\r\n\r\nMy reverso world example:\r\n```\r\n<!-- Examples (A) and (B) are the same -->\r\n\r\n<!-- (A) ngFor div -->\r\n<div ngFor=\"let hero of heroes\">{{ hero }}</div>\r\n\r\n<!-- (B) *ngFor with template -->\r\n<template *ngFor let-hero [ngForOf]=\"heroes\">\r\n  <div>{{ hero }}</div>\r\n</template>\r\n```\r\nYou kinda have to look carefully to notice the difference.  I took the asterisk from (A) and put it on (B).\r\n\r\nLet fancy things be fancy, and let simple things be simple."}}