title: Dynamically change an input field's placeholder?
body: <p>I am working with Javascript and the d3 library, and AngularJS.</p>
  
  <p>Is there a way to dynamically change an input box's placeholder? I am working with a calendar widget and multiple views and wanted to see if there was a way to have the placeholder always be the value that was last inputted into the field.</p>
  
  <p>I wrote a small function that always returns the last thing that was entered into the input field...but then when I tried setting placeholder=functionIwrote() it literally makes the placeholder "fucntionIwrote()" instead of running the function.</p>