Updated to conform with changes in angular.dart 0.10.0