UNPKG

sirius-explorer

Version:

An open-source front-end for the Insight API.

16 lines (14 loc) 370 B
'use strict'; angular.module('insight') .filter('startFrom', function() { return function(input, start) { start = +start; //parse to int return input.slice(start); } }) .filter('split', function() { return function(input, delimiter) { var delimiter = delimiter || ','; return input.split(delimiter); } });