A circular reference was detected while serializing an object of type

I got the following circular error while running the application “A circular reference was detected while serializing an object of type System.Data.Entity.DynamicProxies”. If you don’t need all column properties of the object just pass the required properties because the object hierarchy is not supported by the JSON serializer.

I used entity frame work and passed the object to bind the grid in angularjs using asp.net mvc c#.