title: Best way to provide url to angular $http.get/.post
body: <p>I am using angular with MVC4. I would like to call a MVC controller method from javascript using $http.get().  It requires a url (obviously).  I would like this to be a relative path, but how do I write that?  My controller is in Controllers/Api/ExampleController.  I would like the path to resolve even if I move the javascript file into another location, meaning I would like the path to be relative to application root as opposed to the javascript file.  I Have tried "~/Controllers/Api/ExampleControllerMethod" and "Controllers/Api/ExampleController/Method.</p>