Add common solution for $parse:isecdom

Commonly this error happen when returning a value in an ng-click handler.

And especially with CoffeScript that returns the last lines.