title: how to start a countdown timer from 1 controller and displayed in the other-angularjs
body: <p>i am sorry to say that the code is too big so i have modified my previous question into the code .
  pardon me.</p>
  
  <p>this is the link for that </p>
  
  <p><a href="https://stackoverflow.com/questions/25665117/how-to-start-a-countdown-timer-from-1-controller-and-displayed-in-the-other-angu">how to start a countdown timer from 1 controller and displayed in the other-angularjs</a></p>
  
  <p>the timer in this code is started when the program starts, that too when we set a static value in second controller.</p>
  
  <p>can anyone suggest me how i can start the timer when the button in the first controller(readycntrl) is pressed and the value of the timer is dynamicaly taken from a php page(timer.ajax) and displayed in the second controller(questcntrl) in the timer tag.</p>
  
  <pre><code>&lt;timer countdown="wow" interval="1000" finish-callback="askstart(current,total,inpu); startTimer();"&gt;{{countdown}}{{}}&lt;/timer&gt;
  </code></pre>
  
  <p>please refer to the above link to see the question..</p>