Add Decorator definition to IModule

This commit is contained in:
Dmitry V. Abuzyarov committed 2015-05-31 15:02:01 +03:00
1 parent aae45edc2a
commit 3e6f6339a5
2 files changed
+11

No files matched your search

+3
View File
@@ -201,6 +201,9 @@ mod.constant(My.Namespace);
mod.value('name', 23);
mod.value('name', "23");
mod.value(My.Namespace);
mod.decorator('name', function($scope:ng.IScope){ });
mod.decorator('name', ['$scope', <any>function($scope: ng.IScope){ }]);
class TestProvider implements ng.IServiceProvider {
constructor(private $scope: ng.IScope) {