Improve this Doc ngParseExt
Installation
First, get the file:
- Google CDN e.g.
"//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-parse-ext.js"
- NPM e.g.
npm install --save [email protected]
oryarn add [email protected]
- Bower e.g.
bower install angular-parse-ext#X.Y.Z
- code.angularjs.org (discouraged for production use) e.g.
"//code.angularjs.org/X.Y.Z/angular-parse-ext.js"
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.
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–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.7.8/docs/api/ngParseExt