angular-intercom-mini

WebJar for angular-intercom-mini

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-intercom-mini
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

angular-intercom-mini
WebJar for angular-intercom-mini
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/maxiperezc/angular-intercom-mini

Download angular-intercom-mini

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-intercom-mini/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-intercom-mini</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-intercom-mini/
implementation 'org.webjars.bower:angular-intercom-mini:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-intercom-mini/
implementation ("org.webjars.bower:angular-intercom-mini:0.1.0")
'org.webjars.bower:angular-intercom-mini:jar:0.1.0'
<dependency org="org.webjars.bower" name="angular-intercom-mini" rev="0.1.0">
  <artifact name="angular-intercom-mini" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-intercom-mini', version='0.1.0')
)
libraryDependencies += "org.webjars.bower" % "angular-intercom-mini" % "0.1.0"
[org.webjars.bower/angular-intercom-mini "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

angular-intercom-mini

Bower Component for installing and using Intercom with AngularJS.

Install

  1. bower install angular-intercom-mini
  2. Include the intercom.js script provided by this component into your app.
  3. Add angular-intercom-mini as a module dependency to your app.

Usage

<script src="app/bower_components/angular-intercom-mini/intercom.js"></script>

<script>
  angular
  	.module('YOUR-APP', ['intercom', '... others ...'])
  	.config(['IntercomProvider', function(IntercomProvider) {
  	  IntercomProvider.init('YOUR-APP-ID');
  	}])
  	.directive('intercom', ['Intercom', function(Intercom) {
  	  // Create a directive to watch user object 
  	  // And invoke Intercom.boot when it changes
  	  // There is a example of a directive in example.html file
  	}])
  ;
</script>

Check the example.html file - usage is very easy

License

MIT

Versions

Version
0.1.0