uor/angular-model — pull request #7 by warrenseymour (2013-12-29 18:00:12+00:00)
Title: semicolons and handle 404 with content with grace

First commit adds some semicolons because jslint was bugging me about them.

Second commit attempts to address `TypeError: 'null' is not an object (evaluating 'obj[element.shift()] = setValue')`, which occurs if a request initiated with model.all() gets a response with status 404 and body a non-empty string.

It may not be the 'correct' fix, but raising the PR anyway to at least provide a test case to reproduce the issue.