update for angular > 1.2.2

Content-type header must be undefined rather than false when using
angular 1.2.2 or later