Notoriously Psychedelic Modules
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ng-outpostpublic

    ngOutpost

    Ng-Outpost is an Angular module to interact with the Muller Avenue Group Outpost API.

    Getting started

    npm:

    npm install ng-outpost
    

    bower: bower install ng-outpost

    Configuring

    In your angular application, you must have an 'APP' contstant set up with the following properties:

    API_KEY: '<your api key for outpost>',
    APP_NAME: '<your application name>'
    

    include 'ngOutpot' in your main app file. inject 'NgOutpostFactory' into the controller that you wish to record messages.

    Usage

    Methods

    The module comes with one factory NgOutpostFactory that have three methods.

    NgOutpostFactory.getMessages();
    NgOutpostFactory.createMessage();
    NgOutpostFactory.deleteMessage();
    

    Keywords

    install

    npm i ng-outpost

    Downloadsweekly downloads

    5

    version

    0.6.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar