Angular JS + Rails fun