Ng-Outpost is an Angular module to interact with the Muller Avenue Group Outpost API.
npm:
npm install ng-outpost
bower:
bower install ng-outpost
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>'
Inject ngOutpost
in your main app file.
Inject NgOutpostFactory
into the controller that you wish to record messages.
The module comes with one factory NgOutpostFactory
that has three methods.
NgOutpostFactory.getMessages();
NgOutpostFactory.createMessage();
NgOutpostFactory.deleteMessage();