title: How to update the ng-href URl on $scope change
body: <p>I'm  looking to update the 'ng-href' url on scope value from controller.Initially on page load url is inserted fine. But then 
  when i change the scope that URL should be updated</p>
  
  <pre><code>&lt;a ng-href=={{selectedValue}} /a&gt;
  
  //in my controller
  $scope.selectedValue = "www.google.com"
  
  //need to update this url in this function
  otherButtonFn = function(){
  //want to Update the url here
  $scope.selectedValue =  "www.yahoo.com"
  }
  
  //ng-href is loading initial url but not updating when $scope is called
    &lt;a ng-href=="www.google.com" href=""www.google.com" /a&gt;
  </code></pre>
  
  <p>Here i want to update the url with "www.yahoo.com" when that function is called.</p>