Removing angularJS hooks.