title: How do I add an WebApiConfig to my UmbracoApiController?
body: <p>I'm trying to create a APIcontroller for my Umbraco V8 package. The API is working fine but I only want my backoffice AngularControllers to have access to the API. I wish to create a attribute like described in this answer <a href="https://stackoverflow.com/a/30573590/11409365">https://stackoverflow.com/a/30573590/11409365</a>. This way only the localmachine can access the API.</p>
  
  <p>I don't think it's relevant but this is the code in my APIController</p>
  
  <pre><code>    public class PackageApiController : UmbracoApiController
      {
          [HttpGet]
          public string GetString()
          {
              return "Test";
          }
  
       }
  </code></pre>
  
  <p>But where do I add my WebApiConfig class and how do I make sure the ApiController uses this class?</p>