Fix for angular $http handling of null params