176
rated 0 times
[
178]
[
2]
/ answers: 1 / hits: 134556
/ 11 Years ago, tue, december 31, 2013, 12:00:00
I have an angular directive which is initialized like so:
<conversation style=height:300px type=convo type-id={{some_prop}}></conversation>
I'd like it to be smart enough to refresh the directive when $scope.some_prop
changes, as that implies it should show completely different content.
I have tested it as it is and nothing happens, the linking function doesn't even get called when $scope.some_prop
changes. Is there a way to make this happen ?
More From » angularjs