title: Angular UI Bootstrap modal - use custom modal window
body: <p>As given  in the link <a href="http://angular-ui.github.io/bootstrap" rel="nofollow">http://angular-ui.github.io/bootstrap</a>  ( select modal from Directive drop down on top), there is a parameter called windowTemplateUrl which is used to over ride the modal content. So, in case we are using this, what to give in templateUrl or template, as one of these is required for calling the open function of modal. For e.g. the code is given below.</p>
  
  <pre><code>$scope.open = function(){
    var modalInstance = $modal.open({
        windowTemplateUrl : '/client/content.html'
    })
  }
  </code></pre>
  
  <p>If I run the code as above, it gives error that templateUrl or template is required. So, how do I use windowTemplateUrl.</p>