Last active
August 29, 2015 14:25
-
-
Save taboularasa/dcbf95daf2c61c38b607 to your computer and use it in GitHub Desktop.
cascading selects in angular
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-controller="TeacherReportsController"> | |
<select ng-options="element.label for element in model" ng-model="firstOption"></select> | |
<select ng-options="child.label for child in firstOption.children" ng-model="secondOption"></select> | |
<select ng-options="child.label for child in secondOption.children" ng-model="thirdOption"></select> | |
{{thirdOption.data}} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment