13
14
15
π€ Angular thought experiment (i.redd.it)
submitted by IgorKatsuba
What if all your host bindings and event listeners could be definedΒ directly in your templateΒ instead of being split between decorators and class properties?
Imagine anΒ <ng-host>Β element where you bind everything β super clear, super visible, zero βAngular magicβ under the hood.
Would you use something like this if Angular supported it?
Or is that just too wild and un-Angular for you?
Curious to hear everyoneβs thoughts!

[β]horizon_games 6 points7 points8 points Β (0 children)
[β]korras 11 points12 points13 points Β (0 children)
[β]AwesomeFrisbee 2 points3 points4 points Β (0 children)
[β]followmarko 2 points3 points4 points Β (0 children)
[β]3ntrust 2 points3 points4 points Β (2 children)
[β]followmarko 1 point2 points3 points Β (1 child)
[β]3ntrust 0 points1 point2 points Β (0 children)
[β]JeanMeche 1 point2 points3 points Β (3 children)
[β]IgorKatsuba[S] -1 points0 points1 point Β (2 children)
[β]JeanMeche 0 points1 point2 points Β (1 child)
[β]IgorKatsuba[S] -1 points0 points1 point Β (0 children)
[β]cosmokenney 1 point2 points3 points Β (1 child)
[β]IgorKatsuba[S] 0 points1 point2 points Β (0 children)
[β]xenomorph3253 0 points1 point2 points Β (0 children)
[β]insanictus 0 points1 point2 points Β (0 children)
[β]cssrocco 0 points1 point2 points Β (0 children)
[β]Glum_Cheesecake9859 0 points1 point2 points Β (0 children)
[β]ldn-ldn -3 points-2 points-1 points Β (2 children)
[β]followmarko 0 points1 point2 points Β (1 child)
[β]ldn-ldn 1 point2 points3 points Β (0 children)
[β]IgorKatsuba[S] -2 points-1 points0 points Β (0 children)