bfanger/angular-activerecord — pull request #4 by tiraeth (2013-07-31 20:30:59+00:00)
Title: Fix $isNew to be aware of $idAttribute

Currently if one uses ``$idAttribute`` other than ``id`` and tries to save model, the request will be ``POST`` not ``PUT`` because of ``$isNew()`` returning ``true``. This PR fixes the emptiness check for model's id.