title: How to create modal in mvc(cshtml)?
body: <p>I have controller in angular :</p>
  
  <pre><code> $scope.open = function (size) {
  
          var modalInstance = $modal.open({
  
              templateUrl: 'Sport/Offer',
  
          });
      }
  </code></pre>
  
  <p>MVC Controller:</p>
  
  <pre><code> public ActionResult Offer()
    {
         return PartialView("Offer", new OfferModel());
    }
  </code></pre>
  
  <p>Problem is when i click on button it open modal but with same page that im already on it. Any suggestion why is this happening and how to fix that ?Is it because of wrong url or what? Do i need some controller that will handle that?</p>