<!DOCTYPE html> <body ng-app=""> <form> <div ng-switch="myVar"> <p>The ng-switch directive hides and shows HTML sections depending on the value of the radio buttons.</p> </body> </html> |
DogsWelcome to a world of dogs. TutorialsLearn from examples. CarsRead about cars. The ng-switch directive hides and shows HTML sections depending on the value of the radio buttons. |