b6ec2387b31ad1f51b95c8fac8f2a60b2de855f6
A quoted expression is: quoted expression = prefix `:` uninterpretedExpression prefix = identifier uninterpretedExpression = arbitrary string Example: "route:/some/route" Quoted expressions are parsed into a new AST node type Quote. The `prefix` part of the node must be a legal identifier. The `uninterpretedExpression` part of the node is an arbitrary string that Angular does not interpret. This feature is meant to be used together with template AST transformers introduced in https://github.com/angular/angular/commit/a43ed79ee7d49ec55a0adea9b587ed67780c870c. The transformer would interpret the quoted expression and convert it into a standard AST no longer containing quoted expressions. Angular will continue compiling the resulting AST normally.
Angular
Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2, both the JavaScript (JS) and Dart versions.
Angular 2 is currently in Developer Preview. We recommend using Angular 1.X for production applications:
Quickstart
Setup & Install Angular 2
Follow the instructions given on the Angular download page.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.