Hello,

I am using AngularJS with rails as backend. So, in AngularJS i am using the 
suggested code style for object attributes, in camelcase way with first 
letter lower case, like:

user = {
  phoneNumber: '93939393'
}

but, when i receive this object from rails api, the pattern is

user = {
  phone_number: '93939393'
}

The code on front end getting confused. How can i solve this problem?

Thanks :)

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to