title: Umbraco 7 Custom Property Editor Error
body: <p>I'm trying to get a basic custom property editor sorted out for an Umbraco 7.0.1 solution but it looks like I've missed something somewhere because Angular can't recognise the controller function being called. I need another pair of eyes over this.</p>
  
  <p>I've pretty much copied and pasted <a href="http://umbraco.github.io/Belle/#/tutorials/CreatingAPropertyEditor" rel="nofollow">the example provided on Umbraco's site</a> to start with and was intending to flesh it out afterwards. Here's what I have so far:</p>
  
  <p><strong>package.manifest</strong></p>
  
  <pre><code>{   
      //you can define multiple editors   
      propertyEditors: [      
          {
              /*this must be a unique alias*/ 
              alias: "AcuIT.Multidate",
              /*the name*/
              name: "Multidate Picker",
              /*the html file we will load for the editor*/
              editor: {
                  view: "~/App_Plugins/Multidate/multidate.html"
              }
          }
      ]
      ,
      //array of files we want to inject into the application on app_start
      javascript: [
          '~/App_Plugins/Multidate/multidate.controller.js'
      ]
  }
  </code></pre>
  
  <p><strong>multidate.html</strong></p>
  
  <pre><code>&lt;div ng-controller="AcuIT.MultidateController"&gt;
      &lt;textarea ng-model="model.value"&gt;&lt;/textarea&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>multidate.controller.js</strong></p>
  
  <pre><code>angular.module("umbraco")
      .controller("AcuIT.MultidateController",
      function () {
          alert("The controller has landed");
      });
  </code></pre>
  
  <p>Finally, here is the error I'm seeing in the browser console:</p>
  
  <blockquote>
    <p>Error: Argument 'AcuIT.MultidateController' is not a function, got
    undefined
        at Error ()</p>
  </blockquote>
  
  <p>It's probably a name or a path I've missed somewhere but I can't spot it yet. Any pointers appreciated.</p>