try to use ionic framework. got stuck on ratchet