Bharath Peggem

Bharath Peggem

  • 1.1k
  • 583
  • 33.9k

how to append html to div in angularjs

Jul 31 2017 1:21 PM
Hi Team,
 
Am trying to append html to div in angularjs.
 
1. div insert into ng-repeat.
2. append html when am click the ng-repeat object.
 
ng-repeat="std in StudentRec">
         
{{std.Id}}
 
       //-------HERE STUDENT INFO DISPLAY-----// 
       
ex : 001
       002
       003
       004
       005
 
above array objects to display in div with help of ng-repeat, when I am clicking 001 id, then automatically 001 report display with in the 001 and 002 between div. 
 
kindly help me out ASAP

Answers (2)