title: How to use a callback function on angucomplete-alt selected-object attribute?
body: <p>I'm currently working on the following code :</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;angucomplete-alt id="skill1"
                  selected-object="addSkill1()"
                  remote-url="@Url.Action("GetSkills", "ManageMission")/?query="
                  title-field="Name"
                  minlength="1"
                  match-class="angucomplete-match"
                  input-class="form-control"
                  template-url="@Url.Content("~/Templates/angucomplete-alt.html")"&gt;&lt;/angucomplete-alt&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>$scope.addSkill1 = function () {
      console.log(arguments); 
  };
  </code></pre>
  
  <p>By using a callback function, I'm trying to get the selected object value (<a href="https://github.com/ghiden/angucomplete-alt" rel="noreferrer">as explained in angucomplete-alt documentation</a>), but I receive the follwing error :</p>
  
  <blockquote>
    <p>Error: [$compile:nonassign] Expression 'addSkill1()' used with
    directive 'angucompleteAlt' is non-assignable!</p>
  </blockquote>