Ruby/Angularjs redesign