removed obsolete commented code, reformatting and removed code that breaks Angular Uniform Directive