I am new to both angular and jade. I was wondering if angular can only be used with HTML, or if I could use the same angular call within a jade template? I have only seen an
Yes you can. It would look something like:
body(ng-app)
button(ng-click="yourAngularFunc()")
You can download the angular-express-bootstrap-seed - A great starting point for writing AngularJS apps sauced with Twitter Bootstrap and backed by an Express-powered node.js server. this seed contains example of using jade template
For example:
.row
.col-lg-12
p This is the partial for view 2.
p
| Showing of 'interpolate' filter:
| {{ 'Current version is v%VERSION%.' | interpolate }}