Apply usage of ng-safebrowser in relevant places and remove now obsolete scope functions.