anchor.diff:    if (sourceModule == null) return null;
     var buf = new StringBuffer();
     var sourceWithImports = sourceModule.getSourceWithImports();
  -  var libraryName = _getLibName(sourceModule.moduleUrl);
  +  libraryName = _sanitizeLibName(
  +      libraryName != null ? libraryName : sourceModule.moduleUrl);
     buf..writeln('library $libraryName;')..writeln();
     sourceWithImports.imports.forEach((import) {
       // Format for importLine := [uri, prefix]
  
positive.code: library angular2.transform.common.code.source_module;
  
  import 'package:angular2/src/core/compiler/source_module.dart';
  
  import 'uri.dart';
  
negative.code: }
  
  final _unsafeCharsPattern = new RegExp(r'[^a-zA-Z0-9_\.]');
  String _sanitizeLibName(String moduleUrl) {
    var sanitized =
        moduleUrl.replaceAll(_unsafeCharsPattern, '_').replaceAll('/', '.');
    for (var keyword in Keyword.values) {
      sanitized.replaceAll(keyword.syntax, '${keyword.syntax}_');
    }
    return sanitized;
  }
  