Hello, I am Turkish. I have a problem and I have been working for 6 hours waiting for your help.
I shoot the data with Json. Does not go to detail page looks empty.
controller.js
.controller('KonusCtrl', function($scope, $rootScope, $http) {
$http.get("http://sadfasd.com/json.php")
.then(function(response){
$rootScope.veri = response.data;
});
})
.controller('KonuDetailCtrl', function($scope, $stateParams,userService) {
})
App.js
.state('tab.konus', {
url: '/konus',
views: {
'tab-konus': {
templateUrl: 'templates/tab-chats.html',
controller: 'KonusCtrl'
}
}
})
.state('tab.konu', {
url: '/konus/:konuId',
views: {
'tab-konus': {
templateUrl: 'templates/chat-detail.html',
controller: 'KonuDetailCtrl'
}
}
})
tab-chats Page
ng-href="#/details/id">
class="filmbosluk"ng-repeat="x in veri">