Click here to Skip to main content
15,909,896 members

Comments by Member 2256723 (Top 1 by date)

Member 2256723 1-Jul-18 2:35am View    
Deleted
I think I got part of it: the built of the filter object, i will describe :
function response.data(){
var descriptionType=response.type + response.category;
if(descriptionType){
scope.newObject=typeObj.push(type, category, descriptionType)

...}
}

What I dont know is how to call from the ng-click:
<li filterType in typeObj[category.categoy].subcategory ng-click=showDocumentsByType(filterType, category)>{{filterType.type}}

I didnt build the code but need to fix it to work for a new filter, and dont remmber it now...this is all I remember, but can post on Monday...If you have and idea how to call from html and build the function for the ng-click...