update for angular > 1.2.2

Content-type header must be undefined rather than false when using
angular 1.2.2 or later
Merge pull request #3 from burgessa23/master

update for angular > 1.2.2