makes angularjs minsafe