changed abbreviation scope function to filter function (as in angularjs style)