Adaptation of TodoMVC Angular to work with Drupal RESTful backend