angular-docs-cn/modules/angular2
vsavkin 5b5d31fa9a feat(pipe): added the Pipe decorator and the pipe property to View
BREAKING CHANGE:
    Instead of configuring pipes via a Pipes object, now you can configure them by providing the pipes property to the View decorator.

    @Pipe({
      name: 'double'
    })
    class DoublePipe {
      transform(value, args) { return value * 2; }
    }

    @View({
      template: '{{ 10 | double}}'
      pipes: [DoublePipe]
    })
    class CustomComponent {}

Closes #3572
2015-08-12 00:38:40 +00:00
..
docs fix(CSSClass): change selector to ng-class 2015-08-07 14:56:41 +02:00
src feat(pipe): added the Pipe decorator and the pipe property to View 2015-08-12 00:38:40 +00:00
test feat(pipe): added the Pipe decorator and the pipe property to View 2015-08-12 00:38:40 +00:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md fix(npm): update scripts and readme for npm packages. 2015-06-09 11:39:08 -07:00
angular2.dart feat(bootstrap): remove the need for explicit reflection setup in bootstrap code 2015-07-22 17:02:32 -07:00
angular2.ts refactor(http): move http files to top-level module 2015-08-11 22:32:17 +00:00
angular2_exports.ts refactor(http): move http files to top-level module 2015-08-11 22:32:17 +00:00
angular2_sfx.dart style(dart): Format Dart source with dart_style 0.1.8 2015-05-29 10:42:47 -07:00
angular2_sfx.ts feat(typings): allow defining custom namespace for bundle 2015-08-10 12:59:35 -07:00
annotations.ts feat(pipe): added the Pipe decorator and the pipe property to View 2015-08-12 00:38:40 +00:00
bootstrap.ts refactor(http): move http files to top-level module 2015-08-11 22:32:17 +00:00
bootstrap_static.dart feat(bootstrap): remove the need for explicit reflection setup in bootstrap code 2015-07-22 17:02:32 -07:00
change_detection.ts feat(pipe): added the Pipe decorator and the pipe property to View 2015-08-12 00:38:40 +00:00
core.ts chore: add dartdoc compliance checks to build 2015-08-11 22:53:08 +00:00
debug.ts refactor(render): cleanup access to native dom elements 2015-06-23 17:27:59 -07:00
di.ts cleanup(DI): clean up visibility decorators 2015-07-31 02:30:26 +00:00
di_errors.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_metadata.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_transformer.dart feat(transformers): expose DI transformer for use by packages 2015-07-14 16:59:03 -07:00
directives.ts feat(coreDirectives): add NgClass to coreDirectives 2015-08-10 19:52:10 +00:00
forms.ts feat(forms): Export NgSelectOption directive 2015-07-17 15:24:10 -07:00
globals.d.ts chore(build): enable type-checking for TypeScript ES6 emit. 2015-08-06 16:57:52 -07:00
mock.ts refactor(TemplateResolver): rename to ViewResolver 2015-06-24 18:40:04 +02:00
package.json chore(npm): correct generated package json files. 2015-06-29 10:30:00 -07:00
pipes.ts feat(pipe): added the Pipe decorator and the pipe property to View 2015-08-12 00:38:40 +00:00
profile.ts feat: implement web-tracing-framework support 2015-07-31 23:04:05 +00:00
pubspec.yaml refactor: allow the latest dart_style version 2015-08-10 19:05:09 +00:00
render.ts fix(render): allow to configure when templates are serialized to strings 2015-07-31 12:04:32 -07:00
router.ts feat(typings): allow defining custom namespace for bundle 2015-08-10 12:59:35 -07:00
test.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
test_lib.ts feat(test): add test bundle 2015-07-09 18:07:48 -07:00
traceur-runtime.d.ts chore(build): enable type-checking for TypeScript ES6 emit. 2015-08-06 16:57:52 -07:00
transformer.dart feat(dart/transformer:: Initial commit of ctor stubs & annotation register 2015-02-17 16:34:19 -08:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json chore(build): enable type-checking for TypeScript ES6 emit. 2015-08-06 16:57:52 -07:00
view.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00

README.js.md

Angular2

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS.
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /ts are the TypeScript source files.

As a convenience, we provide you with /es6/{dev|prod}/es5build.js, a script to transpile the es6 sources into es5 using Google Traceur.

License: Apache MIT 2.0