Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As a follow-up: Angular actually did this! https://docs.angularjs.org/guide/expression

> AngularJS does not use JavaScript's eval() to evaluate expressions. Instead AngularJS's $parse service processes these expressions.



Note that those are the AngularJS aka ”Angular 1” docs.

For Angular as in ”Angular 2” docs, see https://angular.dev/guide/templates/expression-syntax




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: