src/language-js/printer-estree.js
function hasNgSideEffect(path) {
  return hasNode(path.getValue(), node => {
    switch (node.type) {
      case undefined:
        return false;
      case "CallExpression":
      case "OptionalCallExpression":
      case "AssignmentExpression":
        return true;
    }
  });
}
function hasNgSideEffect(path) {
  return hasNode(path.getValue(), node => {
    switch (node.type) {
      case undefined:
        return false;
      case "CallExpression":
      case "OptionalCallExpression":
      case "AssignmentExpression":
        return true;
    }
  });
}
function hasNgSideEffect ( path ) { return hasNode ( path . getValue ( ) , node => { switch ( node . type ) { case undefined : return false ; case "CallExpression" : case "OptionalCallExpression" : case "AssignmentExpression" : return true ; } } ) ; }
identify if an angular expression seems to have side effects
identify if an angular expression seems to have side effects