Skip to content

Instantly share code, notes, and snippets.

@chandermani
Last active December 20, 2015 16:48
Show Gist options
  • Save chandermani/6163744 to your computer and use it in GitHub Desktop.
Save chandermani/6163744 to your computer and use it in GitHub Desktop.
<div id='userData'>
<div id='sectionParticulars' ng-include="'particularsTemplate'" ng-init='model=model'></div>
<div id='sectionAddress' ng-include="'addressTemplate'" ng-init='model=model.address'></div>
<div id='sectionDepedents' ng-include="'dependentTemplate'" ng-init='model=model.dependents'></div>
</div>
<script type="text/ng-template" class="template" id="particularsTemplate">
<!-- HTML related to user particulars-->
</script>
<script type="text/ng-template" class="template" id="addressTemplate">
<!-- HTML related to user address-->
</script>
<script type="text/ng-template" class="template" id="dependentTemplate">
<!-- HTML related to user dependents-->
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment