learning angularjs on rails basic app