refactor to use ractive and backbone instead of angular*. not correctly working