$parseProvider.addLiteral()

addLiteral(literalName, literalValue);

Configure $parse service to add literal values that will be present as literal at expressions.

Parameters

Param Type Details
literalName string

Token for the literal value. The literal name value must be a valid literal name.

literalValue *

Value for this literal. All literal values must be primitives or undefined.

doc_AngularJS
2016-03-29 16:10:33
Comments
Leave a Comment

Please login to continue.