Watch Handler Gets Called Twice

Watch handler is called twice this causes onload to get called twice which can cause problems.  According to https://docs.angularjs.org/api/ng/type/$rootScope.Scope#methods_$watch we can add a check to only handle changes.

Added check to watch of attrs.uiAce so that the handler only gets called when something actually changes