Auth0 / Ionic sample app causes digest cycle to keep running

HI There,
I’m wanting to write an Ionic app and use Auth0 for the authentication. I downloaded the sample app from the Auth0 and then upgraded the ionic version to 1.7.12. Now when I run the app I get the error below. Is there something else I need to add or remove?

Any help is appreciated.

Sean

Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.4.3/$rootScope/infdig?p0=10&p1=[]
at ionic.bundle.js:13248
at Scope.$digest (ionic.bundle.js:28901)
at Scope.$apply (ionic.bundle.js:29131)
at bootstrapApply (ionic.bundle.js:14813)
at Object.invoke (ionic.bundle.js:17630)
at doBootstrap (ionic.bundle.js:14811)
at bootstrap (ionic.bundle.js:14831)
at angularInit (ionic.bundle.js:14725)
at ionic.bundle.js:41539
at HTMLDocument.trigger (ionic.bundle.js:16176)(anonymous function) @ ionic.bundle.js:25510
ionic.bundle.js:29134 Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.4.3/$rootScope/infdig?p0=10&p1=[]

Solved it by adding this into my project https://gist.github.com/IgorMinar/863acd413e3925bf282c