Skip to content

Instantly share code, notes, and snippets.

@kosz
Created May 3, 2014 15:02
Show Gist options
  • Save kosz/1a87d115451414fa8136 to your computer and use it in GitHub Desktop.
Save kosz/1a87d115451414fa8136 to your computer and use it in GitHub Desktop.
calendar.jade
div(ng-include='\'partials/navbar.html\'')
.jumbotron
h1
| Calendar
p.lead
br
| Where is the navbar ?
div(ng-include='\'partials/footer\'')
Rendered :
<div ng-view="" class="container ng-scope">
<!-- ngInclude: 'partials/navbar.html' -->
<div class="jumbotron ng-scope">
<h1>Calendar </h1>
<p class="lead"><br>Where is the navbar ?</p>
</div>
<!-- ngInclude: 'partials/footer' -->
</div>
How settings.jade renders
<div ng-view="" class="container ng-scope">
<!-- ngInclude: 'partials/navbar.html' -->
<div ng-include="'partials/navbar.html'" class="ng-scope">
<div ng-controller="NavbarCtrl" class="header ng-scope"> .... etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment