"use strict";app.directive("compareTo",function(){return{require:"ngModel",scope:{otherModelValue:"=compareTo"},link:function(e,o,r,t){t.$validators.compareTo=function(o){return o==e.otherModelValue},e.$watch("otherModelValue",function(){t.$validate()})}}});