Todo application with sinatra and angular