Hi Aset, Oh, right, you can do it when using props, but not in `{{}}`. I'm unsure what your purpose is. It looks like you are doing too much logic in your template. If this is really a path you want to walk, you can use a helper. Template: ```HTML {{setProp('i',3)}} ``` controller: ```typescript setProp(propName:string,val:any) { this[propName]=val, return val} ```
But this is really a sign that you are doing too much logic in the template, which will lead to hard to maintain and test results. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.