codein, just wrap your function with a $timeout(); Don't use $scope.$apply() unless you exactly know what you're doing. Wrong usage will often result in infdig digest loops.
Example for your case:
$scope.createDropDown = $timeout(function () {
// you're code here
});
```
What is happening here? Wrapping your function with a $timeout will also trigger a $digest loop.. but it will be qeueued and executed when the previous one(s) are done. This results in no erros and an updated UI.