Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use the accounts-ui package with the Angularjs package? #23

Open
gavriguy opened this issue Feb 14, 2013 · 2 comments
Open

How can I use the accounts-ui package with the Angularjs package? #23

gavriguy opened this issue Feb 14, 2013 · 2 comments

Comments

@gavriguy
Copy link

To add the account-ui on the page on a normal meteor app I just need to add v to the HTML, How do I do the same with Angular enabled?

@muvic08
Copy link

muvic08 commented May 28, 2013

I am having the same problem too. To circumvent the issue, I am using http://blog.benmcmahen.com/post/41741539120/building-a-customized-accounts-ui-for-meteor in the meantime

@xiphias
Copy link

xiphias commented Jul 28, 2013

I have a partially working solution by rendering the accounts-ui template:

Install accounts-ui dropdown

mrt add  accounts-ui-bootstrap-dropdown

Add this to the template:

<div id="loginTemplate"></div>

And add this to the controller:

Coffeescript version:

loginTemplateChild = Meteor.render () ->
    Template._loginButtons()
$('#loginTemplate')[0].appendChild(loginTemplateChild)

Javascript version:

loginTemplateChild = Meteor.render(function() {
  return Template._loginButtons();
});

$('#loginTemplate')[0].appendChild(loginTemplateChild);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants