showing [Object Object] angular - Stack Overflow It shows [Object Object] because you are trying to display an object inside a DOM element (any object's toString() method will give you that) You need a string there How do you want to display the data? If you just want to see for testing reasons, change the this Services transactionCode = row line in COMPONENT WITH MY TABLE TS with this Services transactionCode = JSON stringify(row)
angular - Difference between [ (ngModel)] and [ngModel] for binding . . . Angular2+ data flow: In Angular the data can flow between the model (component class ts file) and view (html of the component) in the following manners: From the model to the view From the view to the model Data flows in both directions, also known as 2 way data binding Syntax: model to view: <input type="text" [ngModel]="overRideRate"> This syntax is also known as property binding Now if