Integration of AngularJS and Mongolab to token list