title: Open Modal from another page Laravel
body: <p>I working on laravel project and I have many modals that I will using in my project so I decided to put  modals code in another folder .
  my view code is </p>
  
  <pre><code>&lt;button type="button" class="btn btn-success"  data-toggle="modal" data- 
   target="#AddUserMoodal"&gt;&lt;i class="fa fa-edit" aria-hidden="true"&gt;&lt;/i&gt; 
  </code></pre>
  
  <p></p>
  
  <p>when I pressing on this button  I want to open AddModal which is in modals folder 
  this is code of /modals/addmodal.blade.php</p>
  
  <pre><code> &lt;div id="addModal" class="modal fade" role="dialog"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
                  &lt;h4 class="modal-title"&gt;&lt;/h4&gt;
              &lt;/div&gt;
              &lt;div class="modal-body"&gt;
                  &lt;form class="form-horizontal" role="form"&gt;
                      &lt;div class="form-group"&gt;
                          &lt;label class="control-label col-sm-2" for="title"&gt;Title:&lt;/label&gt;
                          &lt;div class="col-sm-10"&gt;
                              &lt;input type="text" class="form-control" id="title_add" autofocus&gt;
                              &lt;small&gt;Min: 2, Max: 32, only text&lt;/small&gt;
                              &lt;p class="errorTitle text-center alert alert-danger hidden"&gt;&lt;/p&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="form-group"&gt;
                          &lt;label class="control-label col-sm-2" for="content"&gt;Content:&lt;/label&gt;
                          &lt;div class="col-sm-10"&gt;
                              &lt;textarea class="form-control" id="content_add" cols="40" rows="5"&gt;&lt;/textarea&gt;
                              &lt;small&gt;Min: 2, Max: 128, only text&lt;/small&gt;
                              &lt;p class="errorContent text-center alert alert-danger hidden"&gt;&lt;/p&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/form&gt;
                  &lt;div class="modal-footer"&gt;
                      &lt;button type="button" class="btn btn-success add" data-dismiss="modal"&gt;
                          &lt;span id="" class='glyphicon glyphicon-check'&gt;&lt;/span&gt; Add
                      &lt;/button&gt;
                      &lt;button type="button" class="btn btn-warning" data-dismiss="modal"&gt;
                          &lt;span class='glyphicon glyphicon-remove'&gt;&lt;/span&gt; Close
                      &lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>but I don't know how to do that .what is the route will be for it </p>