Call $nope.bool in condition of if-else in node.js output