You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// example - valid: true, options: [["$http","$q"]]
17
+
// example - valid: true, options: [["http","q"]]
17
18
app.directive('helloWorld',function($resource){
18
19
// ...
19
20
});
20
21
21
-
// example - valid: false, options: [["$http","$q"]], errorMessage: "REST API calls should be implemented in a specific service ($q in directive)"
22
+
// example - valid: false, options: [["http","q"]], errorMessage: "REST API calls should be implemented in a specific service ($q in directive)"
22
23
app.directive('helloWorld',function($q){
23
24
// ...
24
25
});
25
26
26
-
// example - valid: true, options: [["$http","$q"],["directive"]]
27
+
// example - valid: true, options: [["http","q"],["directive"]]
27
28
app.controller('MyController',function($http){
28
29
// ...
29
30
});
30
31
31
-
// example - valid: false, options: [["$http","$q"],["directive"]], errorMessage: "REST API calls should be implemented in a specific service ($http in directive)"
32
+
// example - valid: false, options: [["http","q"],["directive"]], errorMessage: "REST API calls should be implemented in a specific service ($http in directive)"
32
33
app.directive('MyController',function($http){
33
34
// ...
34
35
});
35
36
36
37
37
-
// example - valid: true, options: [{"directive":["$http","$q"],"controller":["$resource"]}]
38
+
// example - valid: true, options: [{"directive":["http","q"],"controller":["resource"]}]
// example - valid: false, options: [{"directive":["$http","$q"],"controller":["$resource"]}], errorMessage: "REST API calls should be implemented in a specific service ($resource in controller)"
48
+
// example - valid: false, options: [{"directive":["http","q"],"controller":["resource"]}], errorMessage: "REST API calls should be implemented in a specific service ($resource in controller)"
// example - valid: false, options: [{"directive":["$http","$q"],"controller":["$resource"]}], errorMessage: "REST API calls should be implemented in a specific service ($http in directive)"
53
+
// example - valid: false, options: [{"directive":["http","q"],"controller":["resource"]}], errorMessage: "REST API calls should be implemented in a specific service ($http in directive)"
0 commit comments