emailComposer plugin from ngcordova is not installing

when i run this command
cordova plugin add https://github.com/katzer/cordova-plugin-email-composer.git@0.8.2
it is giving this error.

try it

cordova plugin add https://github.com/katzer/cordova-plugin-email-composer

it got install.but i am using $cordovaEmailComposer.then it give error cordova is not defined.

cordova emulate ios 

run in the simulator should be work

in also device it is not working

add cordova in index.html

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