W3cubDocs

/Angular.js 1.8

Improve this Doc ngParseExt

Installation

First, get the file:

where X.Y.Z is the AngularJS version you are running.

Then, include angular-parse-ext.js in your HTML:

<script src="path/to/angular.js"></script>
<script src="path/to/angular-parse-ext.js"></script>

Finally, load the module in your application by adding it as a dependent module:

angular.module('app', ['ngParseExt']);

With that you're ready to get started!

The ngParseExt module provides functionality to allow Unicode characters in identifiers inside AngularJS expressions.

This module allows the usage of any identifier that follows ES6 identifier naming convention to be used as an identifier in an AngularJS expression. ES6 delegates some of the identifier rules definition to Unicode, this module uses ES6 and Unicode 8.0 identifiers convention.

You cannot use Unicode characters for variable names in the ngRepeat or ngOptions expressions (e.g. ng-repeat="f in поля"), because even with ngParseExt included, these special expressions are not parsed by the $parse service.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
https://code.angularjs.org/1.8.2/docs/api/ngParseExt