Upgrading to Angular 2


#1

I thought I’d sharing my recent experience upgrading an app from Angular 1 to Angular 2.


#2

Hmm, “Deal with the undefined” is particularly annoying if you use Meteor, since you often have already part of a data record available in minimongo, while the full record is being loaded. E.g. in a list-detail view.
Putting an ng-if on top means the user sees nothing instead of already some data like it is now. So the app will feel slower.


#3

If it’s in MiniMongo then, the *ngIf would be true and your page would be displayed. It should be just a bit of burden on the developer to handle the undefined case…