1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-18 16:41:58 +00:00
This commit is contained in:
Julien LE COUPANEC 2018-06-26 09:18:23 +01:00
commit 0b2dbf425c

3
frontend/angular.js vendored
View File

@ -185,8 +185,7 @@ class MyDirective() {}
@Pipe({...})
class MyPipe() {}
// Declares that a class has dependencies that should be injected into the constructor when the
// dependency injector is creating an instance of this class.
// Declares that a class can be injected into the constructor of another class by the dependency injector.
@Injectable()
class MyService() {}