According to the docs one should be able to specify a function for the 'property' property. However, when I try it with, for example (just for testing):
Error: [$parse:syntax] Syntax Error: Token '{' is an unexpected token at column 12 of the expression [function() { return "length"; }] starting at [{ return "length"; }].
I probably do something wrong. How is this supposed to be used?
According to the docs one should be able to specify a function for the 'property' property. However, when I try it with, for example (just for testing):
"edit": false, "order": true, "property": function() { return "yadayada"; },
I get a syntax error:
Error: [$parse:syntax] Syntax Error: Token '{' is an unexpected token at column 12 of the expression [function() { return "length"; }] starting at [{ return "length"; }].
I probably do something wrong. How is this supposed to be used?