| Index: third_party/pkg/angular/lib/angular.dart
|
| diff --git a/third_party/pkg/angular/lib/angular.dart b/third_party/pkg/angular/lib/angular.dart
|
| index b5ffa7f815036a6728966a44ffabe3aa8255aaa5..a663a77d577fe3261ed8147d6770dda25d720dde 100644
|
| --- a/third_party/pkg/angular/lib/angular.dart
|
| +++ b/third_party/pkg/angular/lib/angular.dart
|
| @@ -1,13 +1,71 @@
|
| +/**
|
| + * Angular is a framework for building single page web applications.
|
| + *
|
| + * Further reading:
|
| + *
|
| + * - AngularJS [Overview](http://www.angularjs.org)
|
| + * - [Tutorial](https://github.com/angular/angular.dart.tutorial/wiki)
|
| + * - [Mailing List](http://groups.google.com/d/forum/angular-dart?hl=en)
|
| + *
|
| + */
|
| library angular;
|
|
|
| +import 'dart:html' as dom;
|
| +import 'dart:js' as js;
|
| +import 'package:di/di.dart';
|
| +import 'package:di/dynamic_injector.dart';
|
|
|
| -export 'package:angular/application.dart';
|
| +/**
|
| + * If you are writing code accessed from Angular expressions, you must include
|
| + * your own @MirrorsUsed annotation or ensure that everything is tagged with
|
| + * the Ng annotations.
|
| + *
|
| + * All programs should also include a @MirrorsUsed(override: '*') which
|
| + * tells the compiler that only the explicitly listed libraries will
|
| + * be reflected over.
|
| + *
|
| + * This is a short-term fix until we implement a transformer-based solution
|
| + * which does not rely on mirrors.
|
| + */
|
| +@MirrorsUsed(targets: const [
|
| + 'angular',
|
| + 'angular.core',
|
| + 'angular.core.dom',
|
| + 'angular.filter',
|
| + 'angular.perf',
|
| + 'angular.directive',
|
| + 'angular.routing',
|
| + 'angular.core.parser.Parser',
|
| + 'angular.core.parser.dynamic_parser',
|
| + 'angular.core.parser.lexer',
|
| + 'perf_api',
|
| + List,
|
| + dom.NodeTreeSanitizer,
|
| +],
|
| +metaTargets: const [
|
| + NgInjectableService,
|
| + NgDirective,
|
| + NgController,
|
| + NgComponent,
|
| + NgFilter
|
| +])
|
| +import 'dart:mirrors' show MirrorsUsed;
|
| +
|
| +import 'package:angular/core/module.dart';
|
| +import 'package:angular/core_dom/module.dart';
|
| +import 'package:angular/directive/module.dart';
|
| +import 'package:angular/filter/module.dart';
|
| +import 'package:angular/perf/module.dart';
|
| +import 'package:angular/routing/module.dart';
|
| +
|
| +export 'package:di/di.dart';
|
| export 'package:angular/core/module.dart';
|
| +export 'package:angular/core_dom/module.dart';
|
| +export 'package:angular/core/parser/parser.dart';
|
| +export 'package:angular/core/parser/lexer.dart';
|
| export 'package:angular/directive/module.dart';
|
| -export 'package:angular/core/annotation.dart';
|
| -export 'package:angular/introspection.dart';
|
| -export 'package:angular/formatter/module.dart';
|
| +export 'package:angular/filter/module.dart';
|
| export 'package:angular/routing/module.dart';
|
| -export 'package:di/di.dart';
|
| -export 'package:route_hierarchical/client.dart' hide childRoute;
|
|
|
| +part 'bootstrap.dart';
|
| +part 'introspection.dart';
|
|
|