r/angularjs • • Dec 15 '15

Angular 2 Beta is here!!

http://angularjs.blogspot.com/2015/12/angular-2-beta.html
97 Upvotes

46 comments sorted by

View all comments

6

u/[deleted] Dec 15 '15

Hide your kids hide your wife

20

u/akujinhikari Dec 15 '15

<kids ng-hide="true"></kids>

<wife ng-hide="true"></wife>

24

u/synalx Dec 15 '15

Nope, now it's:

<kids *ngIf="false"></kids>
<wife *ngIf="false"></wife>

:)

3

u/akujinhikari Dec 15 '15

Was gonna actually type that, but I wasn't sure if anyone would get it yet. ha ha