|
14 | 14 | ["$filterProvider\tAngularJS", "\\$filterProvider"],
|
15 | 15 | ["$http\tAngularJS", "\\$http"],
|
16 | 16 | ["$httpBackend\tAngularJS", "\\$httpBackend"],
|
| 17 | + ["$injector\tAngularJS", "\\$injector"], |
17 | 18 | ["$interpolate\tAngularJS", "\\$interpolate(${1:text}${2:, ${3:mustHaveExpression}${4:, ${5:trustedContext}}})"],
|
18 | 19 | ["$interpolateProvider\tAngularJS", "\\$interpolateProvider"],
|
19 | 20 | ["$interval\tAngularJS", "\\$interval"],
|
|
24 | 25 | ["$logProvider\tAngularJS", "\\$logProvider"],
|
25 | 26 | ["$parse\tAngularJS", "\\$parse(${1:expression})"],
|
26 | 27 | ["$parseProvider\tAngularJS", "\\$parseProvider"],
|
| 28 | + ["$provide\tAngularJS", "\\$provide"], |
27 | 29 | ["$q\tAngularJS", "\\$q"],
|
28 | 30 | ["$rootElement\tAngularJS", "\\$rootElement"],
|
29 | 31 | ["$rootScope\tAngularJS", "\\$rootScope"],
|
|
154 | 156 | ["whenPOST\tAngularJS (M/E2E)", "whenPOST(${1:url}${2:, ${3:data}${4:, ${5:headers}}})"],
|
155 | 157 | ["whenPUT\tAngularJS (M/E2E)", "whenPUT(${1:url}${2:, ${3:data}${4:, ${5:headers}}})"]
|
156 | 158 | ],
|
| 159 | + "$injector": [ |
| 160 | + ["annotate\tAngularJS", "annotate(${1:fn})"], |
| 161 | + ["get\tAngularJS", "get(${1:name})"], |
| 162 | + ["has\tAngularJS", "has(${1:name})"], |
| 163 | + ["instantiate\tAngularJS", "instantiate(${1:Type}${2:, ${3:locals}})"], |
| 164 | + ["invoke\tAngularJS", "invoke(${1:fn}${2:, ${3:self}${4:, ${5:locals}}})"] |
| 165 | + ], |
157 | 166 | "$interpolateProvider": [
|
158 | 167 | ["endSymbol\tAngularJS", "endSymbol(${1:value})"],
|
159 | 168 | ["startSymbol\tAngularJS", "startSymbol(${1:value})"]
|
|
196 | 205 | ["logPromiseWarnings\tAngularJS", "logPromiseWarnings(${1:false})"],
|
197 | 206 | ["unwrapPromises\tAngularJS", "unwrapPromises(${1:true})"]
|
198 | 207 | ],
|
| 208 | + "$provide": [ |
| 209 | + ["constant\tAngularJS", "constant(${1:name}, ${2:value})"], |
| 210 | + ["decorator\tAngularJS", "decorator(${1:name}, ${2:decorator})"], |
| 211 | + ["factory\tAngularJS", "factory(${1:name}, ${2:\\$getFn})"], |
| 212 | + ["provider\tAngularJS", "provider(${1:name}, ${2:provider})"], |
| 213 | + ["service\tAngularJS", "service(${1:name}, ${2:constructor})"], |
| 214 | + ["value\tAngularJS", "value(${1:name}, ${2:value})"] |
| 215 | + |
| 216 | + ], |
199 | 217 | "$q": [
|
200 | 218 | ["all\tAngularJS", "all(${1:promises})"],
|
201 | 219 | ["defer\tAngularJS", "defer()"],
|
|
273 | 291 | ["$routeChangeSuccess\tAngularJS (E)", "\\$routeChangeSuccess"],
|
274 | 292 | ["$routeUpdate\tAngularJS (E)", "\\$routeUpdate"],
|
275 | 293 | ["$viewContentLoaded\tAngularJS (E)", "\\$viewContentLoaded"]
|
| 294 | + ], |
| 295 | + "attrs": [ |
| 296 | + ["$addClass\tAngularJS", "\\$addClass(${1:classVal})"], |
| 297 | + ["$observe\tAngularJS", "\\$observe(${1:key}, ${2:fn})"], |
| 298 | + ["$removeClass\tAngularJS", "\\$removeClass(${1:classVal})"], |
| 299 | + ["$set\tAngularJS", "\\$set(${1:name}, ${2:value})"], |
| 300 | + ["$updateClass\tAngularJS", "\\$updateClass(newClasses, oldClasses)"], |
| 301 | + ["$attr\tAngularJS", "\\$attr"] |
276 | 302 | ]
|
277 | 303 | }
|
0 commit comments