```json { "AngularJS Component": { "prefix": "ngc", "description": "AngularJS component", "body": [ "export class ${1:Component}Controller implements ng.IComponentController {", "\n\tstatic \\$inject: string[] = ['\\$q', '\\$location', '\\$routeParams', 'dataService'];\n", "\t$0\n", "\tconstructor(", "\t\tprivate \\$q: ng.IQService,", "\t\tprivate \\$location: ng.ILocationService,", "\t\tprivate \\$routeParams: ng.route.IRouteParamsService,", "\t\tprivate dataService: see.IDataService,", "\t) {}\n", "\t\\$onInit(): void {", "\t\tthis.\\$q.all([]);", "\t}\n}\n", "export const ${1:Component}: ng.IComponentOptions = {", "\ttemplate: require('./$2.template.html'),", "\tcontroller: ${1:Component}Controller,", "};\n" ] }, "AngularJS Module": { "prefix": "ngm", "description": "AngularJS module", "body": [ "import * as angular from 'angular'$3", "\nexport default", "\tangular", "\t\t.module('${1:moduleName}', [$2])$0", "\t\t.name\n" ] } } ```