title: Loading the partial files after the http call inside the controller
body: <p>I am having a controller and a partial file. The partial file tries to access a variable which was set by the controller. But the issue here is that the controller populates the scope object with the variables by making a http call and because of this ajax request, by the time the http call returns the data, the partial file is already loaded and hence I get the variable as undefined. Also although the partial file is loaded on the browser, the data s getting populated after a delay since the scope values are getting binded after the http response returns. </p>
  
  <p>Is there a way in AngularJs, to load the partial file/directives only after the http call in the controller gets the data so that the view is loaded with data instantaneously and not after some delay. Please let me know how to approach this problem.   </p>