MCQs>IT & Programming>Angular JS>What is the purpose of the data property (seen in the example below) in a route configuration? {path: 'customers', component: CustomerListComponent, data: { accountSection: true }}
Angular JS MCQs
What is the purpose of the data property (seen in the example below) in a route configuration? {path: 'customers', component: CustomerListComponent, data: { accountSection: true }}
Answer
Correct Answer: A way to include static, read-only data associated with the route that can be retrieved from the ActivatedRoute
Explanation:
Note: This Question is unanswered, help us to find answer for this one