Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Using the Javascript Library within AngularJs App

$
0
0

Hello

I am hoping to using the Mattermost JavaScript API Library (https://github.com/mattermost/mattermost-driver-javascript) within an AngularJs app I am working on however I am unsure how to instantiate the connection using the library. I have used a pure http call and can make connection to the Mattermost server I am running but would obviously prefer to use the library.

I can not use :var Mattermost = require('mattermost');
var client = new Mattermost.Client(); since this is angular ...

Can someone make a quick suggestion or perhaps point me at an example out there to get an idea how this can be done?

Thank you.

KG


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>