Added by: Sam Deering
AngularJS module for Ministry Platform profile view and edit
bower install crds-ng-profile
Include the Profile using the minimal directive. The profile content will be hidden if the user is logged out.
Optionally reference a CSS class that could show a loading icon or text. The loading class will be removed once the server has responded that the user is either logged in or logged out.
Use the child directive to include a custom Login form when the user is logged out. The login form will be hidden upon login and the profile content shown.
<crds-profile loading-class="loading"> <crds-profile-login> <div class="crds-login"> <!-- Login goes here --> This is the login form </div> </crds-profile-login> </crds-profile>
Both directives will work as Attributes so this is equivalent to the former:
<div crds-profile loading-class="loading"> <div crds-profile-login> <div class="crds-login"> <!-- Login goes here This is the login form </div> </div> </div>
Features to consider for future development
npm install bower install
Minified and Debug versions copied to:
Module stats last updated: 2015-04-19 03:03:23