Adapting to last AngularDart version