Answers for "object.keys not working in angular html"

0

object.keys not working in angular html

//make a variable  in ts file
 objectKeys = Object.keys;
//in Template access it like this 
  <p>
     {{this.object[objectKeys(this.object)[0]]}}
   </p>
Posted by: Guest on April-08-2022

Code answers related to "object.keys not working in angular html"

Browse Popular Code Answers by Language