Include Blaze templates in your angular-meteor application. This only supports Meteor 1.3 and above, use urigo:angular-blaze-template for earlier versions.
In the command line: $ meteor add urigo:angular-blaze-template
You can include Meteor's Blaze native templates with the blaze-template directive.
<template name="todoList">
A couple of todos
</template>
<blaze-template name="todoList"></blaze-template>
Sometimes, the page styling or logic could strictly depend on the DOM tree
depth level where the template elements are located. The directive element
could be replaced with the contents of the template using the attribute
replace
as follows:
<blaze-template name="todoList" replace></blaze-template>
WARNING: If replace
is used, the original directive DOM element will
be completely removed and replaced with the content of the template. Therefore,
it will not be possible to use replace in combination with any other
directive, like ng-if
or ng-switch
.
Read more on blaze-template, using parameters and binding Blaze templates to Angular's scope in the API docs.