Strip angular js $log statements from a rocambole.
Inspired by rocambole-strip-console
npm install --save rocambole-strip-ng-log
var rocambole = require('rocambole');
var stripNgLog = require('rocambole-strip-ng-log');
rocambole.moonwalk(
'angular.module("MyModule").run(function($log) {$log.log("Log message");});',
stripNgLog(config)
).toString();
Apache 2.0 License © Nicholas Daley