After some recent changes in Angular-Meteor, please make sure you use ONLY ONE option of the following:
Use angular-meteor 1.2.0, using the angular package with dotansimha:accounts-ui-angular and <login-buttons> directive, make sure you remove ecmascript and html-blaze-template package.
Use angular-meteor 1.2.0, using the angular-with-blaze package, use urigo:angular-blaze-template (version 0.2.0) and then use <blaze-template name="loginButtons">.
Please verify that you have the correct versions with the correct constraints, you can specify the versioh using meteor add angular@1.2.0 command.
@dotansimha I am still having the same issue. I get an error in the console template is not defined and it refers to the blaze-template loginbuttons directive. I tryed specifying the package version but I had the same outcome.
angular@1.2.0
urigo:angular-blaze-template@0.2.0
Not sure if I am missing something else
Can you please clarify what do you mean by
- Use angular-meteor 1.2.0
Do you mean using meteor add angular@1.2.0?
Any other suggestions?
@LelouchLight Did you solve your issue? Can you share how?
Edit: Sorted this issue by comparing my code with the tutorial repo which has used the <login-buttons> directive. I would like to request the concerned to update the tutorial accordingly.
I am also stuck at this step on the tutorial with the following message on the verbose output of meteor
=> Errors prevented startup:
While determining active plugins:
error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle
*.html
While determining active plugins:
error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle
*.html
While determining active plugins:
error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle
*.html
I also tried adding a version constraint of 1.2 to angular-meteor, still no joy. How can I tell angular to handle *.ng.html files only (if it might be a possible solution)?
Note: If I remove templating package, meteor runs the server but I get ReferenceError: Template is not defined. error in developer tool without displaying the login buttons.
Hi @bunomonteiro and sorry for the late response.
If you want to use Blaze templates, then it means that we need Meteor to compile html files as Blaze and .ng.html as Angular.
For that you should replace the angular package with angular-with-blazepackage, which uses the same angular-meteor-data package but with different compilation package.