AngularJS Store
v3.0.0
v3.0.0
  • Introduction
  • Installation
  • Tutorials
    • Setup a store
    • Get the current state
    • Update the state
    • Get notified on state changes
    • Stop from receiving notifications
  • API Reference
    • NgStore
    • copy
    • dispatch
    • hook
Powered by GitBook
On this page

Installation

PreviousIntroductionNextTutorials

Last updated 6 years ago

Was this helpful?

CtrlK

Was this helpful?

You can install AngularJS Store by using your favorite node package manager (NPM or Yarn).

Using NPM:

npm install --save angularjs-store

Using Yarn:

yarn add angularjs-store

If you don't want to download and host AngularJS Store yourself, you can include it from a CDN (Content Delivery Network). This will expose the NgStore class from the global window object.

<script src="https://cdn.jsdelivr.net/npm/angularjs-store@3.0.0/lib/angularjs-store.min.js" integrity="sha256-nsaQaMgobX864h304MR7laX7CykZNGPW4cfjlG+jOuc=" crossorigin="anonymous"></script>