SHARE
TWEET
Untitled
a guest
Dec 27th, 2014
170
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- (function(){
- 'use strict';
- angular.module('itStartFrom', [])
- //We already have a limitTo filter built-in to angular,
- //let's make a startFrom filter
- .filter('startFrom', function() {
- return function(input, start) {
- start = +start; //parse to int
- return input.slice(start);
- };
- });
- })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

