ลักษณะการใช้งาน
1. การใช้งานกับ Number เช่น
Expense on Books : {{cost * quantity}} Bath
2. การใช้งานกับ String เช่นHello {{student.firstname + " " + student.lastname}}!
3. การใช้งานกับ Object เช่นRoll No: {{student.rollno}}
4. การใช้งานกับ Array เช่นMarks(Math): {{marks[3]}}
ตัวอย่าง
Sample Application
Hello {{student.firstname + " " + student.lastname}}! Expense on Books : {{cost * quantity}} Bath Roll No: {{student.rollno}} Marks(Math): {{marks[3]}}
ผลลัพธ์ที่ได้
0 comments:
Post a Comment