jsFiddle Example: More Dynamic Form Templates
- July 29, 2014 3:40 PM
- Templating, AngularJS, Examples & Tutorials, Javascript
- Comments (0)
So this is the update to the earlier example, ditching the directive in favor of just simple Angular templating with ngOption and ngRepeat. The point here is to change both the UI and the object being acted upon in a very simple way: Use one dynamic data-set to control another dynamic data-set.
Previous Example: