What is the use of ng-template in Angular?Sanjit Kumar Singh8yAsked May 6, 2018, 10:49 AM EDTSolvedShareLinkedInXCopy linkSave
What is the use of ng-template in Angular?Sanjit Kumar Singh8yAsked May 6, 2018, 10:49 AM EDTSolvedShareLinkedInXCopy linkSave
Nanddeep NachanRank #38 · 35.2K reputation8y agoPosted May 7, 2018, 4:18 AM EDT✓ Accepted answer+2ngTemplate is used when a sample template should be injected into the DOM. https://toddmotto.com/angular-ngfor-template-element#ng-template-element+2
Rajeesh MenothRank #118 · 18.4K reputation8y agoPosted May 6, 2018, 7:35 PM EDT+2Hi, The “ng-template” directive in angularjs is used to load the content of a Know the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nanddeep NachanRank #38 · 35.2K reputationPosted May 7, 2018, 4:18 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted May 6, 2018, 7:35 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts