diff --git a/README.md b/README.md
index 4c8dba0..b61cfc4 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ Add a `
+
```
## Quick configuration
diff --git a/angular-poller.js b/angular-poller.js
index 9fcd5e2..f9fdaa3 100644
--- a/angular-poller.js
+++ b/angular-poller.js
@@ -5,7 +5,7 @@
* Angular poller service. It uses a timer and sends requests every few seconds
* to keep the client synced with the server.
*
- * @version v0.4.2
+ * @version v0.4.3
* @link http://github.com/emmaguo/angular-poller
* @license MIT
*
diff --git a/angular-poller.min.js b/angular-poller.min.js
index 749e4aa..b1ee546 100644
--- a/angular-poller.min.js
+++ b/angular-poller.min.js
@@ -1,2 +1,2 @@
-/*! angular-poller v0.4.2 10-12-2015 */
-!function(a,b,c){"use strict";b.module("emguo.poller",[]).constant("pollerConfig",{stopOn:null,resetOn:null,smart:!1,neverOverwrite:!1,handleVisibilityChange:!1}).run(["$rootScope","$document","poller","pollerConfig",function(a,b,c,d){function e(a){return a&&("$stateChangeStart"===a||"$routeChangeStart"===a||"$stateChangeSuccess"===a||"$routeChangeSuccess"===a)}function f(){b[0].hidden?c.delayAll():c.resetDelay()}e(d.stopOn)&&a.$on(d.stopOn,function(){c.stopAll()}),e(d.resetOn)&&a.$on(d.resetOn,function(){c.reset()}),d.handleVisibilityChange&&(f(),b.on("visibilitychange",f))}]).factory("poller",["$interval","$q","$http","pollerConfig",function(a,d,e,f){function g(a,b){this.target=a,this.set(b)}function h(a){var c=null;return f.neverOverwrite||b.forEach(i,function(d){b.equals(d.target,a)&&(c=d)}),c}var i=[],j={action:"get",argumentsArray:[],delay:5e3,idleDelay:1e4,smart:f.smart,catchError:!1};return g.prototype.set=function(a){var c=["action","argumentsArray","delay","idleDelay","smart","catchError"];b.forEach(c,function(b){a&&a[b]?this[b]=a[b]:this[b]||(this[b]=j[b])},this),this.normalDelay=this.delay},g.prototype.start=function(){function c(){(!l||b.isUndefined(f)||f.$resolved)&&(g=new Date,f=h[i].apply(n,j),f.$resolved=!1,(f.$promise||f).then(function(a){f.$resolved=!0,(b.isUndefined(n.stopTimestamp)||g>=n.stopTimestamp)&&n.deferred.notify(a)},function(a){f.$resolved=!0,m&&(b.isUndefined(n.stopTimestamp)||g>=n.stopTimestamp)&&n.deferred.notify(a)}))}var f,g,h=this.target,i=this.action,j=this.argumentsArray.slice(0),k=this.delay,l=this.smart,m=this.catchError,n=this;this.deferred=this.deferred||d.defer(),"string"==typeof h&&(j.unshift(h),h=e),c(),this.interval=a(c,k),this.promise=this.deferred.promise},g.prototype.stop=function(){b.isDefined(this.interval)&&(a.cancel(this.interval),this.interval=c,this.stopTimestamp=new Date)},g.prototype.remove=function(){var a=i.indexOf(this);this.stop(),i.splice(a,1)},g.prototype.restart=function(){this.stop(),this.start()},{get:function(a,b){var c=h(a);return c?(c.set(b),c.restart()):(c=new g(a,b),i.push(c),c.start()),c},size:function(){return i.length},stopAll:function(){b.forEach(i,function(a){a.stop()})},restartAll:function(){b.forEach(i,function(a){a.restart()})},reset:function(){this.stopAll(),i=[]},delayAll:function(){b.forEach(i,function(a){a.delay=a.idleDelay,a.restart()})},resetDelay:function(){b.forEach(i,function(a){a.delay=a.normalDelay,a.restart()})}}}])}(window,window.angular);
\ No newline at end of file
+/*! angular-poller v0.4.3 10-05-2016 */
+!function(a,b){"use strict";a.module("emguo.poller",[]).constant("pollerConfig",{stopOn:null,resetOn:null,smart:!1,neverOverwrite:!1,handleVisibilityChange:!1}).run(["$rootScope","$document","poller","pollerConfig",function(a,b,c,d){function e(a){return a&&("$stateChangeStart"===a||"$routeChangeStart"===a||"$stateChangeSuccess"===a||"$routeChangeSuccess"===a)}function f(){b.prop("hidden")?c.delayAll():c.resetDelay()}e(d.stopOn)&&a.$on(d.stopOn,function(){c.stopAll()}),e(d.resetOn)&&a.$on(d.resetOn,function(){c.reset()}),d.handleVisibilityChange&&(f(),b.on("visibilitychange",f))}]).factory("poller",["$interval","$q","$http","pollerConfig",function(c,d,e,f){function g(a,b){this.target=a,this.set(b)}function h(b){var c=null;return f.neverOverwrite||a.forEach(i,function(d){a.equals(d.target,b)&&(c=d)}),c}var i=[],j={action:"get",argumentsArray:[],delay:5e3,idleDelay:1e4,smart:f.smart,catchError:!1};return g.prototype.set=function(b){var c=["action","argumentsArray","delay","idleDelay","smart","catchError"];a.forEach(c,function(a){b&&b[a]?this[a]=b[a]:this[a]||(this[a]=j[a])},this),this.normalDelay=this.delay},g.prototype.start=function(){function b(){(!l||a.isUndefined(g)||g.$resolved)&&(f=a.isFunction(n.argumentsArray)?n.argumentsArray():n.argumentsArray.slice(0),a.isString(i)&&(f.unshift(i),i=e),h=new Date,g=i[j].apply(i,f),g.$resolved=!1,(g.$promise||g).then(function(b){g.$resolved=!0,(a.isUndefined(n.stopTimestamp)||h>=n.stopTimestamp)&&n.deferred.notify(b)},function(b){g.$resolved=!0,m&&(a.isUndefined(n.stopTimestamp)||h>=n.stopTimestamp)&&n.deferred.notify(b)}))}var f,g,h,i=this.target,j=this.action,k=this.delay,l=this.smart,m=this.catchError,n=this;this.deferred=this.deferred||d.defer(),b(),this.interval=c(b,k),this.promise=this.deferred.promise},g.prototype.stop=function(){a.isDefined(this.interval)&&(c.cancel(this.interval),this.interval=b,this.stopTimestamp=new Date)},g.prototype.remove=function(){var a=i.indexOf(this);this.stop(),i.splice(a,1)},g.prototype.restart=function(){this.stop(),this.start()},{get:function(a,b){var c=h(a);return c?(c.set(b),c.restart()):(c=new g(a,b),i.push(c),c.start()),c},size:function(){return i.length},stopAll:function(){a.forEach(i,function(a){a.stop()})},restartAll:function(){a.forEach(i,function(a){a.restart()})},reset:function(){this.stopAll(),i=[]},delayAll:function(){a.forEach(i,function(a){a.delay=a.idleDelay,a.restart()})},resetDelay:function(){a.forEach(i,function(a){a.delay=a.normalDelay,a.restart()})}}}])}(window.angular);
\ No newline at end of file
diff --git a/package.json b/package.json
index 69ed138..931211e 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "angular-poller",
"description": "Lightweight AngularJS poller service",
"license": "MIT",
- "version": "0.4.2",
+ "version": "0.4.3",
"main": "angular-poller.js",
"dependencies": {},
"devDependencies": {