Hi Sander,

Thanks for your reply, I tried the same but not working.

HTML---
<body>
    <table align="center" width="80%" border="1">
    <label>Name</label>
        <input type="text" name="name" />
    <label>Email</label>
        <input type="text" name="email" />
    <label>Phone</label>
        <input type="text" name="phone" />
     <input type="button" value="Append" ng-click="AppendText()" />
    </table>
    <br>
    
<div id="divID" data-ng-include data-ng-src="{{issue.status}}"></div>

<script>
function myCtrl($scope) {
    $scope.AppendText = function() {
     $scope.issue = {
          status: 'open.html'
      };              
    }
}   
</script>
</body>

Regards,
Yogi-Kaushik

On Monday, September 21, 2015 at 1:10:50 PM UTC+5:30, Sander Elias wrote:
>
> Hi Yogi,
>
> you did put this in your HTML: 
> data-ng-src="'partials/' + issue.status + '.html'">
>
> as you did put in a literal sting the actual result src tag will be: 
> 'partials/' 
> + issue.status + '.html'. There is nothing in html that can evaluate that 
> expression.
> did you try putting {{}} around it? Making it an angular expression might 
> help a bit.
>
> Regards
> Sander
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to