fix($compile): prevent inlined JSON values in directive templates from being broken by a wrong replacement of '}}' with the user-defined endSymbol.

Discussion about this in a previous PR: https://github.com/angular/angular.js/pull/6453