Switched maps to ng-maps