I need advice so that my angularJs application works correctly. It should work as follows:
But what it does is, ng-repeat tries to skip json whish is not available. It spreads undefinedeverywhere.
undefined
Help would be greatly appreciated. OliverKK
Try the following:
$scope.ngRepData =[];
Then on $http.get('someURL.json').successdo:
$http.get('someURL.json').success
$http.get('someURL.json).success(function(data){ $scope.ngRepData =data; }
, ngRepeat, ngRepeat, , , HTTP- .
ngRepeat
Source: https://habr.com/ru/post/1544460/More articles:How to implement child behavior of JScrollPane? - javaВкладка Ionic navigation в заголовке - javascriptCreate a view controller from Nib with Swift - cocoaAdding Descriptive Text for SwipeRefreshLayout - androidAdding text help in Android SwipeRefreshLayout - androidUnable to connect to docker process - dockerWhy doesn't Haskell have a stronger alternative to Eq? - functorCorner route helper - angularjsHow to create OpenSSL as unversioned shared lib for Android? - androidquickjson - change the key to another value - c ++All Articles