Fixed accidental global declaration of loop variable
Merge branch 'master' of github.com:shinetech/angular-models