fix in angular height directive which caused infinite recursion