Skip to content

unchatbar/unchatbar-user

Repository files navigation

Unchatbar - User

Build Status

Peer to peer chat application using WebRTC technologies

Requirements

  • Node.js 0.10+
  • Chrome 26+ or Firefox 23+

Installation

  • Install Bower: npm install -g bower
  • Install Gunt CLI: npm install -g grunt-cli
  • Clone repository git clone git://github.com/unchatbar/unchatbar.git
  • Run npm install to install required Node.js modules
  • Run bower install to install required Bower components

Dependencies

  • angular
  • json3
  • es5-shim
  • bootstrap-css-only
  • ngstorage
  • lodash
  • gettext

Get Started

angular.module('app', ['unchatbar-user'])

Configure

  • store Profile in local Storage
ProfileProvider.setLocalStorage([TRUE/FALSE]);

API

  • get Profil Object
Profile.get();
  • set Profil Object
Profile.get([ProfileObject]);

Directive

  • Profile Label
<un-profile-admin data-custom-template-url="[CUSTOM-TEMPLATEPATH]"></un-profile-admin>
  • Profile Admin
 <un-profile-label data-custom-template-url="[CUSTOM-TEMPLATEPATH]"></un-profile-label>

Events

  • profileUpdate: profile was update