Unknown provider $cordovaPushV5

How can I inject $cordovaPushV5 correctly? I get an error:

Uncaught Error: [$injector:unpr] Unknown provider: $cordovaPushV5Provider <- $cordovaPushV5

This is what I am doing:

index.hml structure:

<script src="js/ng-cordova.js"></script>
<script src="cordova.js"></script>

<link href="css/ionic.app.css" rel="stylesheet">

    <script src="js/app.js"></script>
    <script src="js/controllers.js"></script>
    <script src="js/routes.js"></script>
    <script src="js/directives.js"></script>
    <script src="js/services.js"></script>
    <script src="js/ngMask.min.js"></script>
    <script src="js/display-mask.min.js"></script>

<body ng-app="app" animation="slide-left-right-ios7">


.run(function($ionicPlatform, $state, $cordovaPushV5, $ionicPopup) {
  $ionicPlatform.ready(function() { ... }

You have to install and refer ngCordova in your app

Yes I did it. Just forgot to add ‘ngCordova’ into module. Thanks anyway.