refactor(view): use nextUid from angular to generate unique ids

Math.random() is unreliable, produces duplicates, and numbers can
overflow if you use them for long enough.
This commit is contained in:
Andy Joslin
2014-02-04 08:46:02 -05:00
parent ca20964262
commit 479175bf5d
3 changed files with 52 additions and 20 deletions

View File

@@ -353,5 +353,4 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
return directive;
}]);
})();