Top "Angularjs-filter" questions

Selects a subset of items from array and returns it as a new array.

How to pass $filter inside link function of angular directive

I need $filter inside the link function of angular directive but there is no way to pass $filter as a …

angularjs angularjs-directive angularjs-filter
Get element's index after using filter

I have an array with objects. I want to find a specific object's index. This object has an unique id …

javascript angularjs angularjs-filter
AngularJS ng-repeat with filter - notarray error

I have a list of items that I'm displaying with ng-repeat. I want to add a filter to show/hide …

angularjs angularjs-ng-repeat angularjs-filter
Angular.js pass filter to directive bi-directional ('=') attribute

I need to use sublist directive in few places of the page, and it should contain sometimes full fields list, …

javascript angularjs angularjs-directive angularjs-ng-repeat angularjs-filter
AngularJS custom filter unknown provider error

I created this filter to transform userID to user's name: angular.module('idToName', ['userService']) .filter('idToName', function(User) { User.allUsers() .…

angularjs angularjs-filter
How to use Angular input fields email validation inside controller?

I'm trying to validate a variable as email inside Angular controller. var valid = $filter('email')($scope.email); The email filter …

angularjs angularjs-filter
How to filter a Select with ng-options

I'm trying to filter the options in a select that uses ng-options but when I add the filter I get …

angularjs angularjs-ng-repeat angularjs-filter ng-options angularjs-ng-options
Filter array of objects by attribute with integer value in ng-repeat

I have the directive like this ng-repeat="place in tb_places | filter:{'id':inputID}" to output some array of objects …

arrays angularjs angularjs-ng-repeat angularjs-filter
How to filter angular model (array) without destroying it

I have a model for my view. That model is array of objects: var arr = { "12345qwery": { prop1: "value", prop2: "value" } } // …

javascript angularjs angularjs-scope angularjs-filter angular-leaflet-directive
angularjs calling Filter twice with ng-repeat

I am new to angularjs and trying to learn concept of filters.But in my case angularjs is calling the …

javascript angularjs angularjs-filter