a simple demo app use rails-api + angularjs