update to destroy function
Merge branch 'master' of github.com:developerforce/MobilePack-AngularJS