Unable to get updates with ionic deploy

Hi all!
I did all steps to get ionic deploy, but looks like me code not getting to then method…

$ionicDeploy.check().then(function(response) {

my code looks like:

app.run(function ($rootScope, $ionicPlatform, $httpBackend, localStorageService,$ionicDeploy) {
$ionicPlatform.ready(function () {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if (window.cordova && window.cordova.plugins.Keyboard) {
    if (window.StatusBar) {
        // org.apache.cordova.statusbar required

// Check for updates
$ionicDeploy.check().then(function(response) {

thnx for help!