lvbreda / Meteor_angularjs

279 stars 42 forks source link

Refactor controller of todo example to be more event oriented #12

Closed xiphias closed 11 years ago

xiphias commented 11 years ago

Hey Lander, I was playing around with your meteor-angularjs integration (it's an integration of 2 totally cool frameworks :-) )

I did some refactoring on the controller of the todo example to be more event oriented..I think this is closer to angularjs style, and some things could maybe later be factored out to the library itself, but you should know whether you like the direction of the change or not :-)

I also moved filtering for tags to server side (I saw that the original todo example does this as well).

BTW I created a package for jquery-ui and angular-ui as well, just look in my public repositoritories (angular-ui for example has support for detecting the enter key, but I didn't want to introduce the dependency just for that).

Cheers, Adam