I need to load partials of jade templates that i route by server side with code:
router.get('/partials/:name', function (req, res) {
var name = req.params.name;
res.render('./main_partials/' + name);
});
to a div inside jade template.
I tried
<div ng-include="'/partials/login'"></div>
but it doesn't work at all.
Will templateUrl be able to work in this case?