Problem with Ionic + ngCordova

Hello

When I test only smartphone with Ionic

var app = angular.module ('myApp' ['ionic'])

image

If ngCordova added:

var app = angular.module ('myApp' ['ionic', 'ngCordova'])

image

On my computer with command “Ionic serve” it works
image

Why it does not work with smartphone?

thanks for your help

resolved

Cordova url “ng C ordova”:

<script src="lib/ngcordova/dist/ng-cordova.js"></script>
<script src="lib/ngCordova/dist/ng-cordova.js"></script> 

But no error with “Ionic serve”