NLeSC/ahn-pointcloud-viewer

View on GitHub
app/scripts/utils/startfrom.filter.js

Summary

Maintainability
A
0 mins
Test Coverage
(function() {
  'use strict';

  function startFrom() {
    return function(input, start) {
      start = +start; //parse to int
      return input.slice(start);
    };
  }

  angular.module('pattyApp.utils')
    .filter('startFrom', startFrom);
})();