You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
493 B
HTML
21 lines
493 B
HTML
<!doctype html>
|
|
<html ng-app="testApp">
|
|
<head>
|
|
<script src="angular-expose-isolate-scopes.js"></script>
|
|
<script>
|
|
angular.module('testApp', [])
|
|
.controller('TestCtrl', function ($scope) {
|
|
$scope.someArray = [];
|
|
setTimeout(function () {
|
|
$scope.$digest(function() {
|
|
$scope.someArray.push(1);
|
|
});
|
|
}, 0)
|
|
});
|
|
</script>
|
|
</head>
|
|
<body ng-controller="TestCtrl">
|
|
<my-trans-dir this="person"></my-trans-dir>
|
|
</body>
|
|
</html>
|