Wrapped the success callback inside _theme_view() with a try catch.
Merge branch '7.x-1.x-alpha-issue-199' of https://github.com/signalpoint/DrupalGap into 7.x-1.x-alpha-issue-199