I have developed an angular application using bootstrap. You can view the app on this plunker link
<div class="panel col-lg-3 col-md-3 col-sm-2">
<div class="" id="menu">
<div ng-controller="mylistcontroller" class="" id="menu">
<br/>
<h4><font color=#636363>My Academic Programs</font><button id="tooltip1" type="button" class="btn btn-default pull-right" data-toggle="tooltip" data-placement="right" data-original-title="Add a Program"><span class="glyphicon glyphicon-plus-sign pull-right"></span></button></h4>
<div ng-repeat="prog in programs" class="list-group">
<a ng-repeat="list in prog.programstaken" href="#" class="list-group-item">
{{list.program}}<span class="badge badge-info pull-right">{{list.completed}} / {{list.required}}</span>
<progressbar class="progress-striped active" max="list.required" value="list.completed" type="{{getProgressType(list)}}">{{getPercentage(list)}}%</progressbar>
</a>
</div>
</div>
</div>
</div>
Whenever I click on the + button next to the My Academic Programs, my objective is to have the panel adjacent to it that displays Tier 1-..
replaced with a new panel containing a dropdown menu listing courses from the "programlist" mentioned in the app.js
. How should I go about achieving this?