Mengapa dalam template sudut saya tidak dapat menggunakan objek.keys ()

//make a variable  in ts file
 objectKeys = Object.keys;
//in template access it like this
  <p>
     {{this.object[objectKeys(this.object)[0]]}}
   </p>
Farwa Miraj