Adds resourceFilter option

Please check `demos/resource-views.html`. Does not need more explanation = )