Cordova progress indicator plugin not working in IONIC framework

I installed progress indicator plugin with cordova plugin add org.pbernasconi.progressindicator command and called below code in IONIC project.

.controller(‘MainCtrl’, function($scope,$http,$state,$location,$timeout) {

$scope.login = function(data) {
     ProgressIndicator.showDeterminate(false, 100000);

I am not getting any errors but progress indicator is not displayed when i click on login button.

Please suggest me on this.Is there any alternative other than this.