UNPKG

aping

Version:

apiNG is an AngularJS directive that enables you to receive, aggregate, limit, order and display data from one or more sources. The complete setup is dead simple, just by adding data-attributes to your html

18 lines 522 B
'use strict'; angular.module('jtt_aping').service('apingModels', [function () { /** * return new clean apiNG model object by _model and _platform * * @param _model {String} * @param _platform {String} * @returns {Object} */ this.getNew = function(_model, _platform) { //find apiNG models here: https://github.com/search?utf8=%E2%9C%93&q=apiNG-model var model = { platform : _platform, model: _model, }; return model; }; }]);