fix($cookies): set cookies on Safari&IE when base[href] is undefined
Safari and IE don't like being told to store cookies with path set to undefined. This change ensures that if base[href] (from which cookie path is derived) is undefined then the cookie path defaults to ''. The test verifies that the cookie is set instead of checking that cookie has correct path, this is due to that cookie meta information is not avabile once the cookie is set. Closes #1190, #1191
F
Fredrik Bonander committed
7090924515214752b919b0c5630b3ea5e7c77223
Parent: df744f3
Committed by Igor Minar <igor@angularjs.org>
on 2/7/2013, 10:36:25 AM