jQuery(document).ready(function($) {
if($('html').attr('ng-app') == 'CTFrontendBuilder') return;
//Next, your code, which will work only in the public part of the site
});
Info: Ive collected this code snippet and dont know the author anymore. If you are the author, please write me a message and i will give you a credit.