title: Cannot call function within deployed contract
body: <p>I'm trying to get a deployed HelloWorld contract to run within a node app. I want to run the <code>call()</code> function to check it like this:</p>
  
  <pre><code>const deployed = helloWorldContract.new({
    from: acct1,
    data: compiled.contracts[':HelloWorld'].bytecode,
    gas: 151972,
    gasPrice: 5
  }, (error, contract) =&gt; {
      if(!error){
        console.log(contract.displayMessage.call());
      } else {
        console.log(error);
      }
  });
  </code></pre>
  
  <p>Here is the contract for reference:</p>
  
  <pre><code>contract HelloWorld {
    function displayMessage() public constant returns (string){
      return "hello from smart contract - {name}";
    }
  }
  </code></pre>
  
  <p>When I try <code>console.log(contract.displayMessage.call())</code> in the callback, that returns: <code>TypeError: Cannot read property 'call' of undefined</code>, but, when I log <code>console.log(contract.displayMessage)</code> it returns this:</p>
  
  <pre><code>{ [Function: bound ]
     request: [Function: bound ],
     call: [Function: bound ],
     sendTransaction: [Function: bound ],
     estimateGas: [Function: bound ],
     getData: [Function: bound ],
     '': [Circular] }
  </code></pre>
  
  <p>What am I doing wrong here? How can I run the function <code>call</code> within the deployed contract?</p>