Boilerplate for angular in rails