todo with spray and angularjs