addyosmani/todomvc — pull request #112 by cburgdorf (2012-02-29 20:28:10+00:00)
Title: Angular refactoring

I started hacking on making the angular example compliant to the new spec. The only thing that should be missing is the localStorage stuff.

But maybe you already like to review the current code and give feedback or merge it in.

Basically what I did:

* copied over the index.html and the app.css from the jQuery example
* I tried to keep the changes to the html as low as possible. For example I had to introduce form tags around the input text boxes because thats the angular way to (or at least the one I know) to handle this case
* I made zero changes to the app.css, however I have overwritten some css in the overwrite.css file. The problem here is that you set some elements to "display: none" on a class/id level. Thats getting in the angular way. But I wasn't sure if I'm supposed to remove ids or change casses inside the app.css so thats why I went for that overwrite.css file

* I also took care for all the functionality (toggle all, edit on doubleclick etc)
* I removed all unneeded code and libraries (like Rx which was previously used for the tooltip that has been removed)