Playing around with angular and rails