Installing the AngularJS SDK
You have 3 options on installing the PubNub AngularJS SDK.
To get started, you can either use a package manager like npm or Bower. Another option is to manually include a script tag with the library from the PubNub CDN.
Option 1: Using the PubNub CDN
Manually include a script tag with the library from the PubNub CDN.
<script src="https://cdn.pubnub.com/pubnub-3.7.21.js"></script>
<script src="https://cdn.pubnub.com/sdk/pubnub-angular/pubnub-angular-3.2.1.js"></script>
Option 2: Using NPM
npm install --save pubnub pubnub-angular
Option 3: Using Bower
bower install --save pubnub pubnub-angular