title: UWP - WebView - Angular JS Injection
body: <p>I am currently working on UWP application developed on Windows 10.
  I am using WebView Control to display 3rd party HTML page.
  The HTML was developed using Angular JS.</p>
  
  <p>Issue: The web page has a function <code>ng-click = c.open();</code></p>
  
  <p>I want to override this function using <em>javascript/angular injection</em> through my C# code and append <code>window.external.notify()</code> so that when the button is clicked on the web page the UWP web view gets notified through <code>ScriptNotify() event</code>.</p>
  
  <p>I am new to javascript and angular, any pointers and guidance will be very helpful.</p>
  
  <pre><code> WebView.InvokeScriptAsync("eval", new[]
                                             {
                                                     @"(function(){
                                                         var hyperlinks = document.getElementsByClassName('btn');                                        
                                                          for(var i = 0; i &lt; hyperlinks.length; i++)
                                                          {                                                           
                                                              **//What should i place here to override the btn ng-click fucntion??**
                                                          }
                                                      })()"
  
                                             });
  </code></pre>