|
60 | 60 | if (scope.ngIntroOncomplete) {
|
61 | 61 | intro.oncomplete(function() {
|
62 | 62 | scope.ngIntroOncomplete.call(this, scope);
|
63 |
| - $timeout(function() {scope.$digest()}); |
| 63 | + $timeout(function() {scope.$digest();}); |
64 | 64 | navigationWatch();
|
65 | 65 | });
|
66 | 66 | }
|
67 | 67 |
|
68 | 68 | if (scope.ngIntroOnexit) {
|
69 | 69 | intro.onexit(function() {
|
70 | 70 | scope.ngIntroOnexit.call(this, scope);
|
71 |
| - $timeout(function() {scope.$digest()}); |
| 71 | + $timeout(function() {scope.$digest();}); |
72 | 72 | navigationWatch();
|
73 | 73 | });
|
74 | 74 | }
|
75 | 75 |
|
76 | 76 | if (scope.ngIntroOnchange) {
|
77 | 77 | intro.onchange(function(targetElement){
|
78 | 78 | scope.ngIntroOnchange.call(this, targetElement, scope);
|
79 |
| - $timeout(function() {scope.$digest()}); |
| 79 | + $timeout(function() {scope.$digest();}); |
80 | 80 | });
|
81 | 81 | }
|
82 | 82 |
|
83 | 83 | if (scope.ngIntroOnbeforechange) {
|
84 | 84 | intro.onbeforechange(function(targetElement) {
|
85 | 85 | scope.ngIntroOnbeforechange.call(this, targetElement, scope);
|
86 |
| - $timeout(function() {scope.$digest()}); |
| 86 | + $timeout(function() {scope.$digest();}); |
87 | 87 | });
|
88 | 88 | }
|
89 | 89 |
|
90 | 90 | if (scope.ngIntroOnafterchange) {
|
91 | 91 | intro.onafterchange(function(targetElement){
|
92 | 92 | scope.ngIntroOnafterchange.call(this, targetElement, scope);
|
93 |
| - $timeout(function() {scope.$digest()}); |
| 93 | + $timeout(function() {scope.$digest();}); |
94 | 94 | });
|
95 | 95 | }
|
96 | 96 |
|
|
103 | 103 |
|
104 | 104 | scope.ngIntroNextMethod = function () {
|
105 | 105 | intro.nextStep();
|
106 |
| - } |
| 106 | + }; |
107 | 107 |
|
108 | 108 | scope.ngIntroPreviousMethod = function () {
|
109 | 109 | intro.previousStep();
|
110 |
| - } |
| 110 | + }; |
111 | 111 |
|
112 | 112 | scope.ngIntroExitMethod = function (callback) {
|
113 | 113 | intro.exit();
|
|
0 commit comments