-
-
Save keshavagrawal89/356bb68068ac3ed4ae4e to your computer and use it in GitHub Desktop.
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
<!-- base.html --> | |
<div>{% block sidebar %}{% endblock %}</div> | |
<div>{% block content %}{% endblock %}</div> | |
<!-- MainPage.html --> | |
{% block sidebar %} | |
<ul ng-app="myApp" ng-controller="myController"> | |
<li></li> | |
</ul> | |
{% endblock %} | |
{% block content %} | |
<div ng-app="myApp" ng-controller="myController"> my page content</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment