Skip to content

Instantly share code, notes, and snippets.

@bfricka
Created October 30, 2012 15:14
Show Gist options
  • Select an option

  • Save bfricka/3980844 to your computer and use it in GitHub Desktop.

Select an option

Save bfricka/3980844 to your computer and use it in GitHub Desktop.
AngularJS startFrom Filter
app.filter 'startFrom', ->
(input, start) ->
if input? and start? and typeof start is 'number'
start = +start
input.slice(start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment