angular-ui/angular-ui — pull request #264 by nkatsaros (2012-11-15 22:51:18+00:00)
Title: Delayed setting select2 values

When a select2 box is behind a ui-if directive the values won't get set once it appears.

setTimeout fixes the problem.