infinite cycle was because off CRLF and asset-angular-template-plugin, that can escape only LF...