[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-05-23 Thread Roy Truelove
My day was likewise saved by this answer On Thursday, October 17, 2013 4:36:50 AM UTC-4, Majid Burney wrote: > > They've only disallowed accessing DOM nodes in expressions, not in > directives. Your code is only broken because of Coffeescript's bad habit of > automatically returning the last val

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-04-23 Thread Eric Miller
Nice! I had no idea why it was failing. Not sure I'd call auto returning a bad habit. In many cases it makes my code shorter and easier to read, especially with angular where I'm always returning functions or objects to the framework. I put the onus on Angular for a clearer error message. I tho

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-04-11 Thread Ken Wang
Thank you so much Majid! On Thursday, October 17, 2013 1:36:50 AM UTC-7, Majid Burney wrote: > > They've only disallowed accessing DOM nodes in expressions, not in > directives. Your code is only broken because of Coffeescript's bad habit of > automatically returning the last value in a function

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-03-21 Thread Arvid Kahl
And mine! On Tuesday, March 18, 2014 11:03:34 AM UTC+1, Xingyi Chen wrote: > > Mine too!! > > On Saturday, March 15, 2014 6:02:38 AM UTC+8, Giovanni K Bonetti wrote: >> >> Mine too! >> >> Em quarta-feira, 19 de fevereiro de 2014 13h16min02s UTC-3, Nik escreveu: >>> >>> You saved the day for me,too

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-03-18 Thread Xingyi Chen
Mine too!! On Saturday, March 15, 2014 6:02:38 AM UTC+8, Giovanni K Bonetti wrote: > > Mine too! > > Em quarta-feira, 19 de fevereiro de 2014 13h16min02s UTC-3, Nik escreveu: >> >> You saved the day for me,too >> >> On Thursday, October 17, 2013 10:36:50 AM UTC+2, Majid Burney wrote: >>> >>> They'

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-03-14 Thread Giovanni K Bonetti
Mine too! Em quarta-feira, 19 de fevereiro de 2014 13h16min02s UTC-3, Nik escreveu: > > You saved the day for me,too > > On Thursday, October 17, 2013 10:36:50 AM UTC+2, Majid Burney wrote: >> >> They've only disallowed accessing DOM nodes in expressions, not in >> directives. Your code is only b

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-02-19 Thread Nik
You saved the day for me,too On Thursday, October 17, 2013 10:36:50 AM UTC+2, Majid Burney wrote: > > They've only disallowed accessing DOM nodes in expressions, not in > directives. Your code is only broken because of Coffeescript's bad habit of > automatically returning the last value in a fun

[AngularJS] Re: Referencing DOM nodes in Angular expressions is disallowed

2014-01-30 Thread Pierre Maoui
Amazing to notice this. Thanks ! Le jeudi 17 octobre 2013 10:36:50 UTC+2, Majid Burney a écrit : > > They've only disallowed accessing DOM nodes in expressions, not in > directives. Your code is only broken because of Coffeescript's bad habit of > automatically returning the last value in a fun