title: ngDialog - popup not updating scope variable
body: <p>I am updating one scope variable from an ngDialog popup. </p>
  
  <p>View : </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="radio"  name="file_selector" value={{file.id}} ng-model="selected_file.id" &gt;&lt;/input&gt;
   </code></pre>
  </div>
  </div>
  </p>
  
  <p><em>controller.js</em></p>
  
  <pre><code> $scope.selected_file   = {'id' : '22'};
  </code></pre>
  
  <p>If I have the above view in non-popup HTML, ng-model updates and view changes. </p>
  
  <p>ngDialog : </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$scope.openUploadPopup = function() {
    ngDialog.open({
     template: 'partials/upload.html',
     controller: 'notificationController',
     className: 'ngdialog-theme-default',
     scope: $scope
     });
  } </code></pre>
  </div>
  </div>
  </p>
  
  <p>Edit : Plunker : <a href="http://plnkr.co/edit/8TUtwixKwvVaycDuvHd9?p=preview" rel="nofollow">http://plnkr.co/edit/8TUtwixKwvVaycDuvHd9?p=preview</a></p>