[AngularJS] Re: How to represent behaviors in AngularJS?

2013-12-29 Thread Diogo Correia
If you are really keen on building it like that, you can do it through a custom built directive and custom child-attributes, see the sample running on plunkr: http://plnkr.co/edit/piwNFpkeb5AxcbQ1j2oY?p=preview On Sunday, December 29, 2013 12:51:41 PM UTC, Богдан Цимбала wrote: Some comments

[AngularJS] Re: How to represent behaviors in AngularJS?

2013-12-27 Thread Daniel Tabuenca
This is a common question/concern by those seeing angular for the first time. In a sense, it seems as though we’ve gone backwards in time when we used to do things like: div onclick=doSomething() About the time that jquery started becoming popular, a lot of the web-development community got