<div class="example-animate-container" ng-include="{{template.url}}">
然后在指令或控制器
$(document).on("keydown",function () { template.url = "put the value here"; $scope.$apply(); });