diff options
| author | Misko Hevery | 2010-04-07 14:13:28 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-07 14:13:28 -0700 |
| commit | 3c5e0205f947fb1aef0eb1261f7d980600ab5482 (patch) | |
| tree | 0684b2293f860927696a20c04f15b506faaf9343 /src/directives.js | |
| parent | 6ea1ac7b05a4079bcda0356e095703d36ccdf6b3 (diff) | |
| parent | 29309e0e5a5f5eafd0f948100417d63127d3332d (diff) | |
| download | angular.js-3c5e0205f947fb1aef0eb1261f7d980600ab5482.tar.bz2 | |
Merge branch 'directives' of github.com:angular/angular.js into directives
Diffstat (limited to 'src/directives.js')
| -rw-r--r-- | src/directives.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/directives.js b/src/directives.js index d1b1dba3..5cee0978 100644 --- a/src/directives.js +++ b/src/directives.js @@ -12,6 +12,7 @@ angularDirective("ng-controller", function(expression){ if (!isFunction(controller)) throw "Reference '"+expression+"' is not a class."; this.$become(controller); + (this.init || noop)(); }; }); |
