layer iterator broken, fixed, plus ng-cloak f-up fixed