Actually i wrote simple filter function for geojson, but maybe somebody 
could show me direction how to make that this function will work together 
with input ng-model search?
The  way as i did it is not dynamic

function filter(feature) {
    return feature.properties.PrimaryName == "somename";
}

         angular.extend($scope, {
           geojson: {
              onEachFeature: onEachFeature,
               data: $scope.hf_directory,
               filter:filter
           }

       });


-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to