I\'m working on an Angular.js app that filters through a json file of medical procedures. I\'d like to show the details of each procedure when the name of the procedure is c
Use ng-show and toggle the value of a show scope variable in the ng-click handler.
Here is a working example: http://jsfiddle.net/pvtpenguin/wD7gR/1/
-
{{procedure.definition}}
Number of patient discharges: {{procedure.discharges}}
Average amount covered by Medicare: {{procedure.covered}}
Average total payments: {{procedure.payments}}