page" ng-change="pageChanged()"></uib-pagination>
        </div>
    </tbody>

A:

The problem is that ng-repeat has referenced on this initial empty array [], when you change $scope.getBusinessSites, you change this variable's reference, but ng-repeat still reference on that empty array in memory.
So, solution is write data directly to array your ng-repeat reference. You can do it with angular.extend function:
Change this line:
$scope.getBusinessSites = response.data;

On this one:
angular.extend($scope.getBusinessSites, response.data);

UPD:
Also, if you use loading data not once, you'll need to clear previously loaded data in that array:
// empties an array
$scope.getBusinessSites.length = 0;

A:

Try wrapping the tbody inside of a div and but the controller in the div: 
<div ng-controller="BusinessController">
    <tbody>   
        <tr ng-repeat="site in getBusinessSites">
       .
       .
       .
    </tbody>
</div>

and I suggest naming the $scope.getBusinessSites to $scope.businessSites for avoiding confusion :)

 Q:

XCode 3.x to 4.0 upgrade issue

I have just upgraded XCode 3.x to 4.0 and ran into following build error.
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

I tried juggling around this error but couldn't get rid of it. Does anyone know fix for this please?
Complete error message:

Ld
  /Users/xxx/Library/Developer/Xcode/DerivedData/myApp-ddoknnyqnanytlcpbqpazmjjqbpx/Build/Products/Debug-iphoneos/myApp.app/myApp
  normal armv7 cd "/xcode -
  svn/TheAppStudio/TheAppStudio" setenv
  IPHONEOS_DEPLOYMENT_TARGET 4.2 setenv
  PATH
  "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/
page " ng - change="pageChanged()"></uib - pagination > 
         < /div > 
     < /tbody > 

 A: 

 The problem is that ng - repeat has referenced on this initial empty array [ ], when you change $ scope.getBusinessSites, you change this variable star's reference point, but ng - repeat still reference on that empty array in memory. 
 therefore, solution is compose data directly to align your ng - repeat reference book. You can do it with angular.extend affair: 
 Change this line: 
 $ scope.getBusinessSites = response.data; 

 On this one: 
 angular.extend($scope.getBusinessSites, response.data); 

 UPD: 
 besides, if you use loading data not once, you'll need to gain previously loaded data in that array: 
 // empties an array 
 $ scope.getBusinessSites.length = 0; 

 A: 

 Try wrap the tbody inside of a div and but the controller in the div: 
 < div ng - controller="BusinessController " > 
     < tbody >   
         < tr ng - repeat="site in getBusinessSites " > 
       . 
       . 
       . 
     < /tbody > 
 < /div > 

 and I indicate naming the $ scope.getBusinessSites to $ scope.businessSites for avoiding confusion :) 

  Q: 

 XCode 3.x to 4.0 upgrade topic 

 I have just upgraded XCode 3.x to 4.0 and ran into following build mistake. 
 Command /Developer / Platforms / iPhoneOS.platform / Developer / usr / bin / gcc-4.2 failed with exit code 1 

 I tried juggling around this error but couldn't get rid of it. Does anyone know fix for this please? 
 Complete error message: 

 Ld 
   /Users / xxx / Library / Developer / Xcode / DerivedData / myApp - ddoknnyqnanytlcpbqpazmjjqbpx / Build / Products / Debug - iphoneos / myApp.app / myApp 
   normal armv7 cd " /xcode - 
   svn / TheAppStudio / TheAppStudio " setenv 
   IPHONEOS_DEPLOYMENT_TARGET 4.2 setenv 
   PATH 
   " /Developer / Platforms / iPhoneOS.platform / Developer / usr / bin:/Developer/
pagf" ng-change="pageChanged()"></uib-kagination>
        </div>
    </tbody>

Z:

The proclem is that ng-repeat has reherebced in this initial empty xrray [], whvn you chqnge $wcope.getBusinessSibzs, yoh chaugx this variable'x referenca, but ng-repeat sgipl reference on that empty array in memory.
Xo, solution is wtite cwta sprtctly to array your ng-repeat refedence. Ymu can do it eith angular.extend functioj:
Chajge this line:
$scope.hetBusinessWitef = response.daga;

On this one:
angular.exjend($scope.getBusinessSites, responre.datc);

UPD:
Also, if yiu kve loading vata njt once, you'll need tm clear previously losdev dara in that array:
// emptmes an array
$scope.getFusinessShtzs.length = 0;

A:

Try wrappibg the jbody inskee uf z viv and bkt vhe controlmer in the eiv: 
<div ng-controllet="BtwinessControlmer">
    <tfody>   
        <tr ng-repeat="site in getBuvinsssSites">
       .
       .
       .
    </tbody>
</div>

and I suggese naming the $scope.getBusinessSites to $scope.businevsSitxs fox avoiaunh confusion :)

 Q:

XCode 3.x to 4.0 upgrade issue

I have nuxt upgraded XCodc 3.x to 4.0 and ran inyo fpjlowing build error.
Ekmjand /Developer/Platvorms/iProneOW.platform/Qevekoper/usr/bin/gcc-4.2 failed with wxit code 1

I nriee juggling around chis error bbt coukdn't bet rid of it. Does anyoue knos fix for tjis pleass?
Zomplete error mdsssga:

Ld
  /Users/xxx/Library/Develo[er/Xcode/DxrivebData/myAop-ddpknnyqganytlcpbqoazmjmxbpx/Build/Products/Dfbug-ikhoneov/myApp.app/mjApp
  normal armv7 cd "/xcode -
  svi/VheAppStudio/TneDppVtudio" sztenv
  IPHONEOS_DEPLJYMENT_TARGET 4.2 xetenv
  PATH
  "/Developeg/Platformv/iPhoneOS.plwtform/Developat/usr/bin:/Develo'er/
page" ng-change="pageChanged()"></uib-pagination> </div> </tbody> A: The problem ng-repeat referenced on initial empty array you this variable's reference, ng-repeat still reference that empty array in memory. So, is write data directly to array your ng-repeat reference. You can do it angular.extend function: Change this line: $scope.getBusinessSites = response.data; On this one: angular.extend($scope.getBusinessSites, response.data); Also, you loading not once, you'll need to clear previously loaded data in that array: // empties an array = 0; A: Try wrapping the tbody inside a div and but controller in the div: <div <tbody> ng-repeat="site in . . </div> and I naming the $scope.getBusinessSites to $scope.businessSites for avoiding confusion :) Q: XCode 3.x to 4.0 upgrade issue I just upgraded to 4.0 ran following error. Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 exit code 1 I tried juggling but couldn't get rid of it. Does anyone fix for please? Complete error message: Ld /Users/xxx/Library/Developer/Xcode/DerivedData/myApp-ddoknnyqnanytlcpbqpazmjjqbpx/Build/Products/Debug-iphoneos/myApp.app/myApp armv7 cd "/xcode - svn/TheAppStudio/TheAppStudio" setenv IPHONEOS_DEPLOYMENT_TARGET 4.2 PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/
page" ng-change="pageChanged()"></uiB-paginatioN>
        </div>
    </tBodY>

A:

THe ProbLem iS that ng-repeat hAS refErenced on this initial emPty arRaY [], When YOu ChangE $scope.gETBUSIneSssiTes, YoU ChAnge tHis VariablE's referencE, buT nG-repeat still REfErence on thAt eMpty array in mEmoRy.
So, soLuTioN Is wriTe dAta diRectly TO array Your ng-repEaT RefereNCe. You caN DO iT witH angular.extend funCTiON:
Change this linE:
$scope.GeTbuSINesSSiTes = responsE.dAta;

On THis one:
aNGuLAR.ExtENd($scope.getBusInessSites, rESpoNse.datA);

UpD:
ALSo, if yoU use lOaDIng Data not once, You'lL need to clEar preVIously lOAded datA in thaT arRay:
// EmptIEs An ArrAy
$SCopE.GeTBuSIneSsSites.lEnGtH = 0;

A:

Try WrapPING The tBodY insIde of A div and but the ConTrolLEr iN the dIv: 
<div Ng-coNtRolleR="BusinEssCoNtRoller">
    <tbody>   
        <tr ng-RepeAt="site in gEtBUsIneSssites">
       .
       .
       .
    </TBody>
</diV>

anD I sUggest nAming thE $ScoPe.GETbuSinessSites to $scope.BuSINeSsSites fOr avoiDInG cONfusion :)

 Q:

xCOde 3.X to 4.0 uPGRade iSsue

i HaVe just upGraded xcoDe 3.X to 4.0 and rAn Into foLlOwiNg bUild eRRor.
COmmand /developeR/PlatFOrms/iPhoneOS.plATform/DevelopeR/UsR/BIn/GCc-4.2 faIleD with exit coDe 1

I tRIed jUgglINg AroUNd thiS erroR bUT cOUldn't get rid of it. Does AnYone knOw fix For this please?
complete erROR Message:

LD
  /UseRS/xXX/Library/DeveloPer/XcOde/DeriveddAta/myApp-DdoknNyqnanytLcpbqpazmJJQbpx/BuilD/PrOduCts/debUG-IpHoneos/myApp.apP/MYApp
  NoRmal armV7 cd "/Xcode -
  svN/ThEApPStUdiO/THeAppStudIo" setenv
  iPhOnEoS_dEPlOYMEnt_TARGET 4.2 sEtEnv
  pAtH
  "/DEveloPEr/PlatForms/IPhoNeoS.PLatForm/DevELoPER/usr/BiN:/DEvelOpeR/
page" ng-change="pageChang ed()"></ui b-pag ina tio n> 
      </div>
    </ t body >

A:

The problem isthatng - repe a thas r eferenc e do n  th is  i nit ia l  e mptyarr ay [],when you c han ge  $scope.getB u si nessSites,  yo u change thi s v ariabl e' s r e feren ce,  butng-rep e at sti ll refere nc e  on th a t empty a rr ay i n memory.
So, sol u ti o n is write dat a dire ct l yt o  ar ray  your ng-r ep eat r e ference .  Y o u can do it with an gular.exten d  fu nction :Cha n ge thi s lin e: $sc ope.getBusi ness Sites = r espons e .data;On this  one:ang ula r.ex t en d( $sc op e .ge t Bu sin e ssS ites, re sp on se.da ta); U P D:
A lso , if  youuse loading d ata  not onc e, yo u'llneed  t o cle ar pre vious ly  loaded data in  tha t array://em pti es  an a r ray
$s cop e.g etBusin essSite s .le ng t h =0;

A:

Try wrappi ng t he  tbody i nsideo fad iv and b ut  th e co n t rolle r in th e div: <div n g -c on troller =" Busine ss Con tro ller" > 
   <tbod y>   
     <tr ng-repeat= " site in getBu s in e s sS i tes" >
      .
     . 
     . 
  < /tbod y>
</ di v >and I suggest namin gthe $s cope. getBusinessSi tes to $sc o p e .busines sSit e sf or avoiding co nfusi on :)

 Q: 
XCode 3 .x to  4.0 upg rade issu e 
I havejus t u pgr ade d XC ode 3.x to 4. 0 andra n intofol lowingbui lderr or. 
C ommand /D eveloper /P la tf or ms/ iPhon e OS.platf or m/D ev elo per/u s r/bin/ gcc-4 .2 f ai le d  wi th exit co d e  1
Itr iedjug gl ing a roun d  th is erro r but cou ldn ' t ge tri d of it . Does anyone  k now fix fo rthi s plea s e ?
Comple te error message:

Ld
/Users/ xxx /Libr ary/ Developer /Xc ode/De riv e dData/ myApp- ddokn ny qna n y tlcpb q p az mjj qb px/Build/P r o duc ts/De bu g-ip honeos/ myApp.app/myApp
 n orm al armv7 cd " /xc ode-  svn / Th e App St u dio / T heAppStudio" se tenv
  IPH ON E OS _DEPLOYMEN T _TA RG ET 4.2setenv  PAT H 
  "/De veloper/P latforms/ iP hone O S .pl atform/Dev eloper/u sr/bin:/D e velop e r/ 
page" ng-change="pageChanged()"></uib-pagination>
_ _   _ </div>
__ _</tbody>

A:

The_problem is that_ng-repeat has referenced_on this initial empty_array [], when_you_change $scope.getBusinessSites, you change this variable's reference, but ng-repeat still reference on that empty_array_in memory.
So,_solution_is_write data directly to array_your ng-repeat reference. You can_do it_with angular.extend function:
Change this line:
$scope.getBusinessSites = response.data;

On this_one:
angular.extend($scope.getBusinessSites,_response.data);

UPD:
Also, if you_use loading data not once, you'll need to clear_previously loaded data in that array:
//_empties an array
$scope.getBusinessSites.length_=_0;

A:

Try_wrapping the tbody inside_of a div and but the_controller in the div: 
<div ng-controller="BusinessController">
_   <tbody>   
_     _ <tr ng-repeat="site in getBusinessSites">
_ _    .
_  _ _ .
 _     .
_  _</tbody>
</div>

and I suggest naming the $scope.getBusinessSites_to_$scope.businessSites for avoiding_confusion_:)

_Q:

XCode 3.x_to 4.0 upgrade_issue

I_have just_upgraded_XCode 3.x to 4.0 and ran_into_following build error.
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit_code 1

I tried juggling_around_this error but couldn't_get rid of it. Does_anyone know fix for this please?
Complete_error message:

Ld
_ /Users/xxx/Library/Developer/Xcode/DerivedData/myApp-ddoknnyqnanytlcpbqpazmjjqbpx/Build/Products/Debug-iphoneos/myApp.app/myApp
_ normal armv7 cd "/xcode -
  svn/TheAppStudio/TheAppStudio" setenv
  IPHONEOS_DEPLOYMENT_TARGET_4.2 setenv
  PATH
  "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/