error:infdig has occurred from $rootscope but fixed after removing some angular expression on the view.