Add an if to prevent unneeded saves
Merge pull request #641 from Foxandxss/angular-patch

AngularJS - Add a check for changes to prevent unneeded saves.