Skip to content

Commit acfb63e

Browse files
Add missing DI prolouges to ExampleCtrl and CordovaService
1 parent c381989 commit acfb63e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/js/controllers/example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
function ExampleCtrl($scope, CordovaService, $cordovaDevice) {
4+
'ngInject';
45

56
// ViewModel
67
const vm = this;

app/js/services/cordova.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// http://stackoverflow.com/a/21906525/1443717
55
// https://github.com/aderowbotham/angular-cordova-bootstrap/blob/master/www/js/services/fs-cordova.js
66
function CordovaService($document, $timeout, $window, $q) {
7+
'ngInject';
78

89
const defer = $q.defer();
910

0 commit comments

Comments
 (0)