Giter Club home page Giter Club logo

accounts-ui-angular's Introduction

accounts-ui-angular

AngularJS wrapper for Meteor's Account-UI package

How to use?

  • Make sure you have the angular package in your root account.
  • Add the package: meteor add dotansimha:accounts-ui-angular
  • Add a dependency on your AngularJS module. For example:
angular.module('myApp', ['angular-meteor', 'accounts.ui']);
  • Use it in your app, for example:
<login-buttons></login-buttons>

accounts-ui-angular's People

Contributors

dotansimha avatar urigo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

accounts-ui-angular's Issues

Login form does not show up

This is not working for me. I have the following packages set up:

#meteor core
meteor-base
session
mongo
mobile-experience
#standard-minifiers

#meteor add ons
accounts-password
jquery

#angular js stuff
angular
angularui:angular-ui-router
angularui:angular-ui-bootstrap
twbs:bootstrap
dotansimha:accounts-ui-angular

and the <login-buttons></login-buttons> in the index.html file.

Nothing happens though, no errors no nothing. Any ideas?

Change Alignment

Is it currently possible to change the alignment?

The issue that I'm having is that I would like to have the login button in the upper right corner of my page, however, the dropdown menu goes off the side of the page, since it is aligned left by default. In vanilla Meteor, I could use the following:

{{> loginButtons align="right"}}

It looks like you can pass {align: "right"} into Blaze.renderWithData, if I'm not missing something, maybe it would make sense to incorporate this? Thanks!

Update $root.currentUser after login/logout

Is it possible to update the current user after login/logout? For example, I have the $root.currentUser defined in an ng-show:

<div ng-show="$root.currentUser">
    <!--  show/hide something here -->
</div>

After logging in the $root.currentUser isn't updated and the div remains hidden, adversely after logging out the div still shows, until refreshing the page. Any ideas?

Does not function on mobile

Hi there,

I am just trying to get this package to work on the iso-device.

Is this been tested by someone?
Or just a bug on my behalf?

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.