added angular gem
added controller api/base and api/posts, added model Post