Added X-Requested-With to header defaults in angular ajax requests. Added ajaxOnly filter to Favorite based controllers